Function: -partition-all-in-steps

-partition-all-in-steps is a byte-compiled function defined in dash.el.

Signature

(-partition-all-in-steps N STEP LIST)

Documentation

Partition LIST into sublists of length N that are STEP items apart.

Adjacent groups may overlap if N exceeds the STEP stride. Trailing groups may contain less than N items.

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -partition-all-in-steps (n step list)
  "Partition LIST into sublists of length N that are STEP items apart.
Adjacent groups may overlap if N exceeds the STEP stride.
Trailing groups may contain less than N items."
  (declare (pure t) (side-effect-free t))
  (nreverse (dash--partition-all-in-steps-reversed n step list)))