Function: -partition-by-header
-partition-by-header is a byte-compiled function defined in dash.el.
Signature
(-partition-by-header FN LIST)
Documentation
Apply FN to the first item in LIST. That is the header value. Apply FN to each item in LIST, splitting it each time FN returns the header value, but only after seeing at least one other value (the body).
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -partition-by-header (fn list)
"Apply FN to the first item in LIST. That is the header
value. Apply FN to each item in LIST, splitting it each time FN
returns the header value, but only after seeing at least one
other value (the body)."
(declare (important-return-value t))
(--partition-by-header (funcall fn it) list))