Function: -applify

-applify is a byte-compiled function defined in dash.el.

Signature

(-applify FN)

Documentation

Return a function that applies FN to a single list of args.

This changes the arity of FN from taking N distinct arguments to taking 1 argument which is a list of N arguments.

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -applify (fn)
  "Return a function that applies FN to a single list of args.
This changes the arity of FN from taking N distinct arguments to
taking 1 argument which is a list of N arguments."
  (declare (pure t) (side-effect-free error-free))
  (lambda (args) (apply fn args)))