Function: --map
--map is a macro defined in dash.el.
Signature
(--map FORM LIST)
Documentation
Eval FORM for each item in LIST and return the list of results.
Each element of LIST in turn is bound to it before evaluating
FORM.
This is the anaphoric counterpart to -map.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defmacro --map (form list)
"Eval FORM for each item in LIST and return the list of results.
Each element of LIST in turn is bound to `it' before evaluating
FORM.
This is the anaphoric counterpart to `-map'."
(declare (debug (def-form form)))
`(mapcar (lambda (it) (ignore it) ,form) ,list))