Function: --annotate
--annotate is a macro defined in dash.el.
Signature
(--annotate FORM LIST)
Documentation
Pair each item in LIST with the result of evaluating FORM.
Return an alist of (RESULT . ITEM), where each ITEM is the
corresponding element of LIST, and RESULT is the value obtained
by evaluating FORM with ITEM bound to it.
This is the anaphoric counterpart to -annotate.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defmacro --annotate (form list)
"Pair each item in LIST with the result of evaluating FORM.
Return an alist of (RESULT . ITEM), where each ITEM is the
corresponding element of LIST, and RESULT is the value obtained
by evaluating FORM with ITEM bound to `it'.
This is the anaphoric counterpart to `-annotate'."
(declare (debug (form form)))
`(--map (cons ,form it) ,list))