News for hackers. Stuff that matters.
Re:Haskell in the Large [pdf] by marcosdumay on Thursday January 29, 2015 @12:35PM (#8967606)
That depends. Can I get the results directly from the compiler, or must I run the actual program?

About your example, it's not idiomatic Haskell. If you try to code the same exact algithm in Haskell, you'll have the same exact problem (ghc has a warning for it); if you recode it in fmap or list pattern matching that are idiomatic to Haskell, you'll avoid the problem.

There are no comments on this comment yet.