2 ms·
The thing is, a compiler could easily recognize the pattern (filter identity (map proc lst ...)) and rewrite it for efficiency (perhaps by using filter-map). W
by kazinator 3y ago
The thing is, a compiler could easily recognize the pattern (filter identity (map proc lst ...)) and rewrite it for efficiency (perhaps by using filter-map).
Writing it that way in the first place reduces the verbosity of the code, making it look better.