(seq {:foo 432, :bar 23})
([:foo 432] [:bar 23])
(into {} [[:foo 1] [:bar 2]])
{:bar 2, :foo 1}
(zipmap [:foo :bar] [1 2])
{:bar 2, :foo 1}
(#{:bar :baz :foo} :bar)
:bar(map (juxt inc inc dec) [3 5 11])
([4 4 2] [6 6 4] [12 12 10])
((juxt inc dec odd? even? pos? neg?) 12)
[13 11 false true true false]
(map (juxt (comp inc rand-int) +) (range 10))
([1 0] [1 1] [1 2] [2 3] [1 4] [2 5] [4 6] [6 7] [3 8] [8 9])
(map (juxt dec identity inc) [-1 0 1])
([-2 -1 0] [-1 0 1] [0 1 2])
(apply (juxt + * / -) [1 2])
[3 2 1/2 -1]
(sort-by (juxt second first) [[1 3] [2 1]])
([2 1] [1 3])
(apply str ((juxt namespace (constantly "/") name) :foo/bar))
"foo/bar"(into {} (map (juxt keyword identity) ['x 'y 'z]))
{:x x, :y y, :z z}
(-> clojure.repl/source var meta ((juxt :file :line :source)))
[nil nil nil]
(apply assoc {} (mapcat (juxt identity inc) (range 3)))
{0 1, 1 2, 2 3}
(map (comp second (juxt println double)) (range 4))
(0.0 1.0 2.0 3.0)
"0\n1\n2\n3\n"(apply identical? ((juxt identity vec) [1 2 3]))
true(-> {:lat 1, :long 2} ((juxt :lat :long)))
[1 2]
(let [name :foo] (name :bar))
nil(get {:foo :bar} :quux :not-found)
:not-found(seq {:foo 4, :bar 4})
([:foo 4] [:bar 4])
(= (type :foo) (type "foo"))
false(meta (with-meta (fn []) {:foo "bar"}))
{:foo "bar"}
(cons :foo #{:bar :bas})
(:foo :bas :bar)
(zipmap [:foo :bar] [5 6])
{:bar 6, :foo 5}
(first {:foo 1, :bar 2})
[:foo 1]
(println {:foo nil, :bar nil})
nil"{:foo nil, :bar nil}\n"(def my-cache (atom {:foo 1}))
#'user/my-cache
(format "Hey, %s" (name :foo))
"Hey, foo"(defn ^{:foo true} bar [])
#'user/bar
(conj {} {:foo 1, :bar 2})
{:bar 2, :foo 1}
(get [1 2 3] :foo)
nil(get {:foo 1} :bar 0)
0({[0 1] :foo} (range 2))
:foo(defn foo #^{:foo 'foo} [])
#'user/foo
(seq {:foo "bar", :fizz "buzz"})
([:foo "bar"] [:fizz "buzz"])
(keys {:a :foo, :b :bar})
(:a :b)
(conj {} [[:foo :bar] [:baz :blah]])
{[:foo :bar] [:baz :blah]}
(assoc {} :foo 1 :bar 2)
{:bar 2, :foo 1}
(take 5 (iterate identity :foo))
(:foo :foo :foo :foo :foo)
(merge {:foo 3} [:bar 4])
{:bar 4, :foo 3}
(defn foo [x] [:foo :bar])
#'user/foo
(prn {:foo 1, :bar 2})
nil"{:foo 1, :bar 2}\n"(assoc-in [{} {} {} {} {} {}] [3 :foo :bar] :baz)
[{} {} {} {:foo {:bar :baz}} {} {}]
(#(do %2) :foo :bar)
:bar((fnil assoc "unknown") {} :foo nil)
{:foo nil}
(= {:foo 0.1} {:bar 0.1})
false(case 'quote 'a :foo :bar)
:foo(vals {:foo 42, :bar 23})
(42 23)
(flatten {:foo 1, :bar 2})
()(cond nil :foo :else 1)
1

