Function: --reduce-r-from

--reduce-r-from is a macro defined in dash.el.

Signature

(--reduce-r-from FORM INIT LIST)

Documentation

Accumulate a value by evaluating FORM across LIST in reverse.

This macro is like --reduce-from, except it starts from the end of LIST. This is the anaphoric counterpart to -reduce-r-from.

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defmacro --reduce-r-from (form init list)
  "Accumulate a value by evaluating FORM across LIST in reverse.
This macro is like `--reduce-from', except it starts from the end
of LIST.
This is the anaphoric counterpart to `-reduce-r-from'."
  (declare (debug (form form form)))
  `(let ((acc ,init))
     (--each-r ,list (setq acc ,form))
     acc))