Function: transient--seq-reductions-from

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

Signature

(transient--seq-reductions-from FUNCTION SEQUENCE INITIAL-VALUE)

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defun transient--seq-reductions-from (function sequence initial-value)
  (let ((acc (list initial-value)))
    (seq-doseq (elt sequence)
      (push (funcall function (car acc) elt) acc))
    (nreverse acc)))