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

"If you've written a Haskell program that runs, it's highly likely to be a correct solution."

having done a bit of work with haskell myself, i'd say it's even better for this for haskell programmers. if you're using type signatures and you've written a haskell program that passes type-checking, it's highly likely to be a correct solution



But just in case it isn't, remember that QuickCheck is a remarkably easy and powerful way to test weird edge cases:

http://book.realworldhaskell.org/read/testing-and-quality-as...




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

Search: