((juxt :id :name) {:id 1, :name "Sean"})
[1 "Sean"]
((juxt remove filter) even? (range 1 9))
[(1 3 5 7) (2 4 6 8)]
(into {} (map (juxt class identity) '({} [] #{})))
{clojure.lang.PersistentArrayMap {}, clojure.lang.PersistentHashSet #{}, clojure.lang.PersistentVector []}
((juxt keys vals) {1 2, 3 4})
[(1 3) (2 4)]
((juxt = identical?) '^:a foo '^:b foo)
[true false]
(every? identity ((juxt (constantly true) pos?) 1))
true((juxt filter remove) even? (range 1 9))
[(2 4 6 8) (1 3 5 7)]
(apply (juxt min max) (repeatedly 1000 rand))
[2.9489930668558095E-4 0.9970304102870349]
((juxt str pr-str identity) '("string" "more"))
["(\"string\" \"more\")" "^{:line 1, :column 30} (\"string\" \"more\")" ("string" "more")]
((juxt + - *) 1 2 3)
[6 -4 6]
((juxt count first last) [1 2 3])
[3 1 3]
((juxt sequential? (comp seq? seq)) {1 2})
[false true]
((juxt * + - /) 4 6)
[24 10 -2 2/3]
((juxt :a :b) {:a 0, :b 1})
[0 1]
((juxt = identical?) [:one 2] [:one 2])
[true false]
(map (juxt inc dec) [1 2 3])
([2 0] [3 1] [4 2])
(map (juxt dec identity inc) (range 5))
([-1 0 1] [0 1 2] [1 2 3] [2 3 4] [3 4 5])
(dorun (map println ((juxt str pr-str) "foo\"bar")))
nil"foo\"bar\n\"foo\\\"bar\"\n"((comp (juxt identity supers) class) [1 2])
[clojure.lang.PersistentVector #{java.lang.Iterable clojure.lang.Reversible clojure.lang.Sequential clojure.lang.IReduce clojure.lang.IPersistentStack clojure.lang.AFn java.util.List java.lang.Runnable clojure.lang.Counted java.io.Serializable clojure.lang.IHashEq clojure.lang.IReduceInit java.lang.Comparable clojure.lang.ILookup clojure.lang.IKVReduce clojure.lang.IPersistentCollection clojure.la...
(into {} (map (juxt identity inc) (range 5)))
{0 1, 1 2, 2 3, 3 4, 4 5}
((juxt str pr-str) {:a "hello", :b 'hello})
["{:a \"hello\", :b hello}" "{:a \"hello\", :b hello}"]
(into {} (map (juxt + str) (range 3)))
{0 "0", 1 "1", 2 "2"}
((juxt key val) (first (seq {:a 1})))
[:a 1]
(every? identity ((juxt (constantly false) pos?) 1))
false((juxt = := '= #'=) 1 2)
[false 2 2 false]
(map (juxt name str) '[foo bar/baz])
(["foo" "foo"] ["baz" "bar/baz"])
((juxt eval reverse) '(+ 3 4))
[7 (4 3 +)]
((juxt pr-str str) (lazy-seq [1 2 3]))
["(1 2 3)" "clojure.lang.LazySeq@7861"]
(let [x (atom {:foo 1, :bar 2})] (swap! x dissoc :foo) @x)
{:bar 2}
(let [c [:foo :baz :bar :foo] comp {:baz 0, :bar 1, :foo 2}] (sort-by #(% comp) c))
(:baz :bar :foo :foo)
(println "&(prn :foo)")
nil"&(prn :foo)\n"(if (seq [1]) :foo :bar)
:foo(meta (empty (with-meta {} {:foo 3})))
{:foo 3}
(clojure.walk/macroexpand-all '(when :foo :bar))
(if :foo (do :bar))
(def ^:dynamic *config* {:foo "default"})
#'user/*config*
(get 1 '(:foo :bar))
nil(:lol {:foo "bar", :lol "bbq"})
"bbq"(conj {:foo 4} {:bar 5})
{:bar 5, :foo 4}
(get '(:foo :bar) 1)
nil(into {} [[:foo 'x] [:bar 'y]])
{:bar y, :foo x}
(type {:foo :bar, :baz 9001})
clojure.lang.PersistentArrayMap(:foo #{:bar 10} 20)
20(update-in nil [:foo :bar] nil?)
{:foo {:bar true}}
(macroexpand '(fn foo [] :foo))
(fn foo [] :foo)
(seq {:foo 3, :bar 4})
([:foo 3] [:bar 4])
(assoc {:foo 1} :bar 2)
{:bar 2, :foo 1}
(list (keyword ":foo") :foo ::foo)
(::foo :foo :user/foo)
(def ^:private foo (atom :foo))
#'user/foo
('a '{a :foo} :bar)
:foo(clojure.set/map-invert {:foo "bar", :baz "qux"})
{"bar" :foo, "qux" :baz}

