Map n-to-m side-effects: mapc
function
An Elisp function that maps n elements to m side-effects:
(mapc (lambda (x)
(when (< x 30)
(princ (format "%s!\n" x))))
'(10 20 30))
10! 20!
mapc
functionAn Elisp function that maps n elements to m side-effects:
(mapc (lambda (x)
(when (< x 30)
(princ (format "%s!\n" x))))
'(10 20 30))
10! 20!