Function: s--mapcar-head
s--mapcar-head is a byte-compiled function defined in s.el.
Signature
(s--mapcar-head FN-HEAD FN-REST LIST)
Documentation
Like MAPCAR, but applies a different function to the first element.
Source Code
;; Defined in ~/.emacs.d/elpa/s-20220902.1511/s.el
(defun s--mapcar-head (fn-head fn-rest list)
"Like MAPCAR, but applies a different function to the first element."
(if list
(cons (funcall fn-head (car list)) (mapcar fn-rest (cdr list)))))