((juxt juxt juxt) juxt juxt juxt juxt)
[#object [clojure.core$juxt$fn__5895 0x387539b0 "clojure.core$juxt$fn__5895@387539b0"] #object [clojure.core$juxt$fn__5895 0x36b2d0ce "clojure.core$juxt$fn__5895@36b2d0ce"]]
((juxt juxt juxt) juxt juxt)
[#object [clojure.core$juxt$fn__5891 0x2ac3cf0c "clojure.core$juxt$fn__5891@2ac3cf0c"] #object [clojure.core$juxt$fn__5891 0x24043424 "clojure.core$juxt$fn__5891@24043424"]]
((comp (juxt juxt juxt) juxt) juxt juxt)
[#object [clojure.core$juxt$fn__5889 0x94c2aaf "clojure.core$juxt$fn__5889@94c2aaf"] #object [clojure.core$juxt$fn__5889 0x78bd5f6 "clojure.core$juxt$fn__5889@78bd5f6"]]
((juxt juxt juxt) + -)
[#object [clojure.core$juxt$fn__5891 0x20a433db "clojure.core$juxt$fn__5891@20a433db"] #object [clojure.core$juxt$fn__5891 0x2e63c9bf "clojure.core$juxt$fn__5891@2e63c9bf"]]
(map #(% 1) ((juxt juxt juxt) inc dec))
([2 0] [2 0])
(map #(flatten (% 1)) ((juxt juxt juxt) inc dec))
((2 0) (2 0))
(clojure.repl/doc juxt)
nil
"-------------------------\nclojure.core/juxt\n([f] [f g] [f g h] [f g h & fs])\n Takes a set of functions and returns a fn that is the juxtaposition\n of those fns. The returned fn takes a variable number of args, and\n returns a vector containing the result of applying each fn to the\n args (left-to-right).\n ((juxt a b c) x) => [(a x) (b x) (c x)]\n"
((juxt +))
[0]
(map (fn [f] (f 1 2)) ((juxt juxt juxt) + -))
([3 -1] [3 -1])
(flatten (map #(% 1) ((juxt juxt juxt) inc dec)))
(2 0 2 0)
((juxt ifn? fn?) {})
[true false]
((juxt + +))
[0 0]
((juxt + *))
[0 1]
((juxt inc) 0)
[1]
((juxt byte-array boolean-array) [])
[#object ["[B" 0x56c8a9f4 "[B@56c8a9f4"] #object ["[Z" 0x580f4d5d "[Z@580f4d5d"]]
((juxt next rest) ())
[nil ()]
((juxt sequence seq) ())
[() nil]
((juxt seq? sequential?) {})
[false false]
((juxt sequential? associative?) [])
[true true]
((juxt (juxt :a :b) (juxt :c :d)) {:a :a, :b :b, :c :c, :d :d})
[[:a :b] [:c :d]]
((juxt (juxt first second) (juxt (comp first rest rest) (comp second rest rest))) (range 1 5))
[[1 2] [3 4]]
(apply (juxt = identical?) ((juxt identity (partial format "%s")) "word"))
[true false]
((juxt = ==) Double/NaN)
[true true]
((juxt str pr-str) "hi")
["hi" "\"hi\""]
((juxt name symbol) 'a)
["a" a]
((juxt seq? empty?) nil)
[false true]
((juxt class type) 1)
[java.lang.Long java.lang.Long]
((juxt true? false?) true)
[true false]
((juxt pr-str pr) "foo")
["\"foo\"" nil]
"\"foo\""
((juxt namespace name) 'foo.bar/quux)
["foo.bar" "quux"]
((juxt seq not-empty) "abc")
[(\a \b \c) "abc"]
((juxt pr print) "hi")
[nil nil]
"\"hi\"hi"
((juxt identity name) :keyword)
[:keyword "keyword"]
((juxt (comp) comp) 5)
[5 5]
((juxt integer? class) 1)
[true java.lang.Long]
((juxt name resolve) '+)
["+" #'clojure.core/+]
((juxt print-str pr-str) "foo")
["foo" "\"foo\""]
((juxt numerator denominator) 1/12)
[1 12]
((juxt pr-str str) "foo")
["\"foo\"" "foo"]
((juxt first last) "clojure")
[\c \e]
((juxt identity identity) 0)
[0 0]
((juxt false? not) nil)
[false true]
(class ((juxt identity) 4))
clojure.lang.PersistentVector
((juxt hash str) (Object.))
[1961802489 "java.lang.Object@74eebaf9"]
((juxt namespace name) :foo.bar/quux)
["foo.bar" "quux"]
((juxt identity inc) 1)
[1 2]
((juxt namespace name) 'clojure.lang.Numbers)
[nil "clojure.lang.Numbers"]
((juxt [inc dec]) 1)
[#object [clojure.core$dec 0x7ae92de2 "clojure.core$dec@7ae92de2"]]
((juxt coll? seq) "test")
[false (\t \e \s \t)]
((juxt class identity) 'a->b)
[clojure.lang.Symbol a->b]