News for hackers. Stuff that matters.
Re:The New Haskell.org by vmiroshnikov on Sunday February 15, 2015 @05:45AM (#9052294)
You need to check syntax, or try some more basic examples first. In this case you pasted piece of code that won't work itself.

If you want to get know more about it: http://learnyouahaskell.com/syntax-in-functions

Re:The New Haskell.org by skrebbel on Sunday February 15, 2015 @05:56AM (#9052320)
Sure, but my point is that maybe the top example should be one that'd work verbatim in the REPL, to not scare noobs like me away.
Re:The New Haskell.org by moomin on Sunday February 15, 2015 @06:20AM (#9052346)
Yeah, the REPL story's a bit of a mess, but Haskellers tend to forget that.
Re:The New Haskell.org by houshuang on Sunday February 15, 2015 @11:53PM (#9055370)
Just to mention it here, IHaskell solves a lot of the annoyances with ghci. Easy multi-line input, don't need let in front of functions, can define modules and load them (automatically compiled), etc. I think they are working on support for template haskell too (important for experimenting with lens code etc)
Re:The New Haskell.org by vmiroshnikov on Sunday February 15, 2015 @09:09AM (#9052624)
Oops, I missed that. Indeed example is not REPL ready.
Re:The New Haskell.org by codygman on Sunday February 15, 2015 @01:36PM (#9053511)
I totally agree with you.