Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I suggest you enable the `+m` flag for multiline input

This way, you don't have to use the weird curly braces trick (which I always forget), at the cost of having to type one more enter when entering a oneliner

FYI, this is my ghci.conf: https://github.com/berdario/dotfiles/blob/master/ghci.conf (I don't suggest a new user to use ClassyPrelude)

That said, I'm not sure what learning material to suggest to you, but if google and stackoverflow.com fails you, try freenode#haskell

personally, I got a lot more interested in Haskell after starting with Clojure (it helped me to appreciate more things like immutable data structures)



I've found that, when it comes to learning a new language from scratch, google and stackoverflow just aren't very helpful. Once you have the basics down, they're good for picking up extra bits and pieces, but at the beginning, when you have no idea where to even start, I find I need something a little more organized.

I will try out that stuff for ghci.conf, though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: