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:
| || || |
| || |
| || || |
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.
Looking For A New Job?
- ColdFusion Engineer at HotelPlanner
- ColdFusion Cloud Software Developer - SaaS Application at Retensa
Hey, it's not a total failure. At least you tried it out and gave it your best shot. Better than not trying it at all :)
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
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!).
IRC is one of those things like bit-torrents. I know of it, but have never really used it.
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).