(let [-> concat] (-> [1 2] [3 4]))
(1 2 3 4)
(clojure.walk/macroexpand-all '(-> [] z/down z/right (-> z/down z/right)))
(z/right (z/down (z/right (z/down []))))
(-> 123 (#'str))
"123"
(-> {} class supers)
#{java.lang.Iterable clojure.lang.IPersistentMap clojure.lang.AFn java.lang.Runnable clojure.lang.Counted java.io.Serializable clojure.lang.IHashEq clojure.lang.APersistentMap clojure.lang.MapEquivalence clojure.lang.ILookup clojure.lang.IKVReduce clojure.lang.IPersistentCollection clojure.lang.IEditableCollection clojure.lang.Seqable java.util.Map java.lang.Object java.util.concurrent.Callable cl...
(-> 'clojure-is ifn?)
true
(-> x quote)
x
(-> 2 (print))
nil
"2"
(-> :content clojure.string/capitalize)
":content"
(-> "123" Integer/parseInt)
123
(-> "Hi" println)
nil
"Hi\n"
(-> 1 Integer.)
1
(-> \c byte)
99
(-> :a sorted-set)
#{:a}
(-> (str) count)
0
(-> 1 print)
nil
"1"
(-> 321 Integer/toString)
"321"
(-> #'+ meta)
{:arglists ([] [x] [x y] [x y & more]), :doc "Returns the sum of nums. (+) returns 0. Does not auto-promote\n longs, will throw on overflow. See also: +'", :name +, :ns #object [sci.impl.vars.SciNamespace 0x71bde97b "clojure.core"], :sci.impl/inlined #object [clojure.core$_PLUS_ 0x35b52c2b "clojure.core$_PLUS_@35b52c2b"], :sci/built-in true}
(-> x def)
#'user/x
(-> :foo name)
"foo"
(-> 5 (inc))
6
(-> :a str)
":a"
(-> 0 inc)
1
(-> 2 (+ 2))
4
(-> #'transient meta :added)
nil
(-> 50000 range count)
50000
(-> (1 4) quote)
(1 4)
(-> Integer/MAX_VALUE Integer. inc)
2147483648
(-> 1 (+ 1))
2
(-> 4 (* 10))
40
(macroexpand '(-> 1))
1
(-> #{} class ancestors)
#{clojure.lang.IPersistentSet java.lang.Iterable clojure.lang.AFn java.lang.Runnable clojure.lang.Counted java.io.Serializable clojure.lang.IHashEq java.util.Set clojure.lang.APersistentSet clojure.lang.IPersistentCollection clojure.lang.IEditableCollection clojure.lang.Seqable java.lang.Object java.util.Collection java.util.concurrent.Callable clojure.lang.IMeta clojure.lang.IObj clojure.lang.IFn...
(-> 42 (* 2))
84
(-> "foo" .getBytes String.)
"foo"
(doto :a (-> prn))
:a
":a\n"
(-> false false? false?)
false
(macroexpand '(-> foo ()))
(nil foo)
(-> 'clojure.core the-ns meta)
nil
(macroexpand-1 '(-> 4 ()))
(nil 4)
(-> :a name symbol)
a
(-> "♥" first long)
9829
(-> ::foo str keyword)
::user/foo
(-> 10 (/ 2))
5
(-> 2 inc -)
-3
(-> #'name meta :doc)
"Returns the name String of a string, symbol or keyword."
(-> *ns* ns-name name)
"user"
(-> *ns* meta :net.cgrand.reload/deps)
nil
(-> :a #{:a})
:a
(-> 10 (- 5))
5
(-> #'*ns* meta :dynamic)
true
(-> 'foo str symbol)
foo