Function: -->

--> is a macro defined in dash.el.

Signature

(--> X &rest FORMS)

Documentation

Starting with the value of X, thread each expression through FORMS.

Insert X at the position signified by the symbol it in the first form. If there are more forms, insert the first form at the position signified by it in the second form, etc.

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defmacro --> (x &rest forms)
  "Starting with the value of X, thread each expression through FORMS.

Insert X at the position signified by the symbol `it' in the first
form.  If there are more forms, insert the first form at the position
signified by `it' in the second form, etc."
  (declare (debug (form body)))
  `(-as-> ,x it ,@forms))