Up: Emacs Lisp [Top][Contents]
mapcar
A higher-order Elisp function that maps n elements to n elements 17:
(mapcar (lambda (x) (* x 10)) '(10 20 30))
(100 200 300)
Accepts lists, vectors, and strings, and always returns a list.