Function: -annotate
-annotate is a byte-compiled function defined in dash.el.
Signature
(-annotate FN LIST)
Documentation
Pair each item in LIST with the result of passing it to FN.
Return an alist of (RESULT . ITEM), where each ITEM is the corresponding element of LIST, and RESULT is the value obtained by calling FN on ITEM.
This function's anaphoric counterpart is --annotate.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -annotate (fn list)
"Pair each item in LIST with the result of passing it to FN.
Return an alist of (RESULT . ITEM), where each ITEM is the
corresponding element of LIST, and RESULT is the value obtained
by calling FN on ITEM.
This function's anaphoric counterpart is `--annotate'."
(declare (important-return-value t))
(--annotate (funcall fn it) list))