Re:What it's like to use Haskell
by nbouscal on Wednesday March 26, 2014 @08:41AM
(#7472951)
List comprehensions actually don't tend to get used very frequently, so I would not point to that as a good example of what Haskell code looks like. It's hard to point to one example, as different parts of the code look very different. That is, pure functions look very different from monadic functions, which both look very different from datatype declarations and typeclass instances. I would recommend poking around a whole codebase, one example of which can be found here: https://github.com/xmonad/xmonad
This post may also be useful: http://blog.ezyang.com/2011/11/how-to-read-haskell/