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

The original was not better. More importantly, recall that Haskell's type system is unsound, so it's not like you can trust your Haskell code either. Just because it type-checks does not mean that it works. In either language, you'll want to write some tests. I mentioned Hypothesis for Python; for Haskell, there's also QuickCheck.


Haskell's type system is unsound? I don't know about this and if it's true then it is some rarely used case. Don't throw away types altogether because of some rarely used case... Types are very very useful.


Pick literally any type. The value `undefined` proves it, even if it shouldn't be provable. Magic~




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

Search: