Function: dash--match-cons-skip-cdr
dash--match-cons-skip-cdr is a byte-compiled function defined in
dash.el.
Signature
(dash--match-cons-skip-cdr SKIP-CDR SOURCE)
Documentation
Helper function generating idiomatic shifting code.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun dash--match-cons-skip-cdr (skip-cdr source)
"Helper function generating idiomatic shifting code."
(cond
((= skip-cdr 0)
`(pop ,source))
(t
`(prog1 ,(dash--match-cons-get-car skip-cdr source)
(setq ,source ,(dash--match-cons-get-cdr (1+ skip-cdr) source))))))