Skip to main content
Ben Nadel at InVision In Real Life (IRL) 2019 (Phoenix, AZ) with: Joel Hill
Ben Nadel at InVision In Real Life (IRL) 2019 (Phoenix, AZ) with: Joel Hill

Seven Languages In Seven Weeks: Haskell - Day 3

By
Published in Comments (5)

I just finished day 3 of Haskell from Seven Langauges in Seven Weeks and well, the term "finished" is being extremely generous. I am more than a little bit embarrassed but I didn't do any of the homework problems from last night. I've been struggling to make peace with Haskell and then last night, I just hit a complete mental block.

I spent 30 minutes trying to figure out how to create a HashTable; and then once I created it, I spent another 30 minutes trying to figure how to store a value in the HashTable. This latter task, I was not able to do. I kept getting told that I couldn't map some value onto some value. I had not idea what was going wrong. Even when I copied a line from an online example, it failed.

The next problem in the homework then built on top of the previous HashTable. At that point, I was simply disheartened. Plus, this section dealt with Monads and I didn't really understand any of it. In my frustration, I Tweeted this:


 
 
 

 
I know I'm a Haskell novice, but the concept of a Monad seems to make easy things easy after the language itself has made them hard?  
 
 
 

All in all, I just closed the book last night feeling dazed and confused. It's really a shame that this had to be the last day of homework; I would have much preferred to end on a higher note.

Epic #Fail.

Reader Comments

15,902 Comments

@Joshua,

Thanks my man. I appreciate that. I really didn't want to give up; I just was completely stumped. I kept getting errors about not being able to map key value onto [Int] or something. I don't know. I have no idea what was going wrong.

At least it's Friday :D

26 Comments

The #haskell IRC channel on freenode can be a great way to get answers to questions like that (it currently has over 700 Haskell programmers online!).

26 Comments

@Ben,

IRC can be a very good resource for Q&A stuff. Hundreds of developers online (well, CFML usually has about 30), quick, interactive chatter to get a problem explained and solved.

#coldfusion is most active on dal.net but also present on freenode and efnet (I'm on dal.net and freenode).

Pretty much all the other languages have IRC channels on freenode (free, open source languages...). I tend to hang out in #scala and #clojure and several Clojure-related channels (#leiningen, #clojureql, #pallet, #jclouds). I sometimes join the #haskell channel (I used to be on it all the time).

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel