4 ms·
This is true, I forgot to mention that the haskell version trivially scales to infinite lists. You can use partial application to encourage code reuse as well:
by rlmw 16y ago
This is true, I forgot to mention that the haskell version trivially scales to infinite lists. You can use partial application to encourage code reuse as well:
evens = filter even
- T_S_ 16y agoEven better.