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

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.



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

Search: