3 ms·
> The LISP family of languages generally does not provide such a function by default The Lisp family doesn't provide anything but parentheses, maybe lambda (no
by kazinator 1y ago
> The LISP family of languages generally does not provide such a function by default
The Lisp family doesn't provide anything but parentheses, maybe lambda (not necessarily under that name) and a whole lot of heated arguments.
Only specific dialects of specific Lisp-family languages provide, or don't provide this and that:
TXR Lisp:
1> (mapcar [flipargs -] '(0 1 2) '(10 20 30))
(10 19 28)
flip is called flipargs because flip is the name of an operator that mutates a place with a negation of its current value: i.e (flip x) means (set x (not x)) with x evaluated once.