3 ms·
In Haskell you can generate an infinite list of all integers starting from 1 with [1..] This is both very succinct but for best use also requires a sufficient
by medymed 6y ago
In Haskell you can generate an infinite list of all integers starting from 1 with [1..]
This is both very succinct but for best use also requires a sufficient understanding of what goes on in the backend, which is true for many features of the language and isn’t always encouraging for uptake. Syntactical elegance and efficiency sometimes comes at a cost of high information/context overhead.