3 ms·
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
by mweibel 12y ago
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.
- tel 12y agoEven the one-liner form at the end? This comment was really bad at exposition, but I think it got somewhere nice.
- mweibel 12y agoWell 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..