Function: -reductions-from

-reductions-from is a byte-compiled function defined in dash.el.

Signature

(-reductions-from FN INIT LIST)

Documentation

Return a list of FN'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 function's anaphoric counterpart is --reductions-from.

For other folds, see also -reductions and -reductions-r.

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -reductions-from (fn init list)
  "Return a list of FN'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 function's anaphoric counterpart is `--reductions-from'.

For other folds, see also `-reductions' and `-reductions-r'."
  (declare (important-return-value t))
  (--reductions-from (funcall fn acc it) init list))