Function: -partition-in-steps
-partition-in-steps is a byte-compiled function defined in dash.el.
Signature
(-partition-in-steps N STEP LIST)
Documentation
Partition LIST into sublists of length N that are STEP items apart.
Like -partition-all-in-steps, but if there are not enough items
to make the last group N-sized, those items are discarded.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -partition-in-steps (n step list)
"Partition LIST into sublists of length N that are STEP items apart.
Like `-partition-all-in-steps', but if there are not enough items
to make the last group N-sized, those items are discarded."
(declare (pure t) (side-effect-free t))
(let ((result (dash--partition-all-in-steps-reversed n step list)))
(while (and result (< (length (car result)) n))
(pop result))
(nreverse result)))