4 ms·Or take 2 (filter even [1..]) // take as many as you wantby T_S_ 16y agoOr take 2 (filter even [1..]) // take as many as you wantrlmw 16y agoThis 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 evenT_S_ 16y agoEven better.