Function: -select-by-indices
-select-by-indices is a byte-compiled function defined in dash.el.
Signature
(-select-by-indices INDICES LIST)
Documentation
Return a list whose elements are elements from LIST selected as `(nth i list)` for all i from INDICES.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -select-by-indices (indices list)
"Return a list whose elements are elements from LIST selected
as `(nth i list)` for all i from INDICES."
(declare (pure t) (side-effect-free t))
(let (r)
(--each indices
(!cons (nth it list) r))
(nreverse r)))