Function: -running-sum

-running-sum is a byte-compiled function defined in dash.el.

Signature

(-running-sum LIST)

Documentation

Return a list with running sums of items in LIST.

LIST must be non-empty.

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -running-sum (list)
  "Return a list with running sums of items in LIST.
LIST must be non-empty."
  (declare (pure t) (side-effect-free t))
  (or list (signal 'wrong-type-argument (list #'consp list)))
  (-reductions #'+ list))