Hacker News new | past | comments | ask | show | jobs | submit login

You could've also rewritten that dog-ugly Ruby code in Ruby, but an interesting look into Haskell none-the-less.



I don't deny that the test could be written in much the same way in Ruby too, the key point of the post was that in Haskell you get flexibility comparable to a highly dynamic language, while also getting a lot safety guarantees.

As for the previous tests, they probably a product of many small changes rather than design. There was a reason we were re-writing them.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: