ClojureDocs

Nav

Namespaces

->

clojure.core

Available since 1.0 (source)
  • (-> x & forms)
Threads the expr through the forms. Inserts x as the
second item in the first form, making a list of it if it is not a
list already. If there are more forms, inserts the first form as the
second item in second form, etc.