Skip to main content

->

macrov1.0

clojure.core/->

Available in:BBCLJCLJS
(-> [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.

No examples yet. Be the first to add one!