Function: -reductions-r

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

Signature

(-reductions-r FN LIST)

Documentation

Return a list of FN's intermediate reductions across reversed LIST.

That is, a list of the intermediate values of the accumulator when -reduce-r (which see) is called with the same arguments.

This function's anaphoric counterpart is --reductions-r.

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

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -reductions-r (fn list)
  "Return a list of FN's intermediate reductions across reversed LIST.
That is, a list of the intermediate values of the accumulator
when `-reduce-r' (which see) is called with the same arguments.

This function's anaphoric counterpart is `--reductions-r'.

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