4 ms·
Quoting myself, now: "Using a generator expression works just as well, though, and is probably clearer in the long run." It's just that my first instinct is a
by mccutchen 17y ago
Quoting myself, now: "Using a generator expression works just as well, though, and is probably clearer in the long run."
It's just that my first instinct is always to use all(xs, pred).