3 ms·
> While map is a great name, I always struggle to remember if ‘filter’ keeps elements that match the condition or removes them. In Common Lisp both functions e
by thaumasiotes 16d ago
> While map is a great name, I always struggle to remember if ‘filter’ keeps elements that match the condition or removes them.
In Common Lisp both functions exist, under the names `remove-if` and `remove-if-not`.