Function: --reductions-from
--reductions-from is a macro defined in dash.el.
Signature
(--reductions-from FORM INIT LIST)
Documentation
Return a list of FORM's intermediate reductions across LIST.
That is, a list of the intermediate values of the accumulator
when --reduce-from (which see) is called with the same
arguments.
This is the anaphoric counterpart to -reductions-from.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defmacro --reductions-from (form init list)
"Return a list of FORM's intermediate reductions across LIST.
That is, a list of the intermediate values of the accumulator
when `--reduce-from' (which see) is called with the same
arguments.
This is the anaphoric counterpart to `-reductions-from'."
(declare (debug (form form form)))
`(nreverse
(--reduce-from (cons (let ((acc (car acc))) (ignore acc) ,form) acc)
(list ,init)
,list)))