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

To be honest: This would turn me off even more than the current example which is also hard to read/understand as a non Haskell programmer. The fibonacci example in another comment in this thread however is very easy to understand and would fit much better.



Even the one-liner form at the end?

This comment was really bad at exposition, but I think it got somewhere nice.


Well the one-liner form I probably have overseen. It's a lot better than the other variations but I do think that the fibonacci example does show Haskell in a much more understandable way than the allRationals one-liner.

But maybe that's a bit me: I don't particularly like one-liners because as an outsider it takes usually a bit more time to understand it than more lines..




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

Search: