Rudolf Adamkovič Personal site


Map n-to-n: mapcar function

A higher-order Elisp function that maps n elements to n elements 17:

(mapcar (lambda (x) (* x 10)) '(10 20 30))
(100 200 300)

Footnotes

(17)

Accepts lists, vectors, and strings, and always returns a list.


© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.