(let [{x :foo} '(:foo 100 :bar 200)] x)
100(select-keys {:foo 3, :bar 4, :baz 5} [:foo :baz])
{:baz 5, :foo 3}
(let [{foo :foo, :as bar} {:foo 1}] [foo bar])
[1 {:foo 1}]
(sort-by :bar [{:foo 1, :bar 7} {:foo 2, :bar 3}])
({:bar 3, :foo 2} {:bar 7, :foo 1})
((apply comp (take 10000 (cycle [:foo (partial hash-map :foo)]))) 41)
41(let [a {:foo [10 20 30]}] (-> a :foo first))
10(let [{{baz :baz} :foo} {:foo {:bar "a", :baz "b"}}] baz)
"b"(apply distinct? (take-nth 2 [:foo :bar :baz :quux :foo :dupe]))
false({:c {:bar 0, :foo 1}} {:b {:bar 1, :foo 1}} {:a {:bar 2, :foo 1}})
{:a {:bar 2, :foo 1}}
((juxt min max) 1 2 3)
[1 3]
(map (juxt inc dec) [1 2])
([2 0] [3 1])
(apply identical? ((juxt identity str) "word"))
true((juxt filter remove) even? (range 6))
[(0 2 4) (1 3 5)]
(apply str ((juxt namespace name) :foo/bar))
"foobar"(map (juxt inc dec) (range 10))
([1 -1] [2 0] [3 1] [4 2] [5 3] [6 4] [7 5] [8 6] [9 7] [10 8])
(map (juxt identity inc) (range 5))
([0 1] [1 2] [2 3] [3 4] [4 5])
((juxt identity double) (/ 2 3))
[2/3 0.6666666666666667]
(map hash ((juxt int short) 1))
(1392991556 1392991556)
((juxt identity type) (cons 1 [2]))
[(1 2) clojure.lang.Cons]
((juxt filter remove) odd? (range 15))
[(1 3 5 7 9 11 13) (0 2 4 6 8 10 12 14)]
((juxt namespace name) (symbol "a/b" "c"))
["a/b" "c"]
((juxt + - /) 4 3)
[7 1 4/3]
(map class ((juxt identity rest) (range)))
(clojure.lang.Iterate clojure.lang.Iterate)
((juxt filter remove) odd? (range 10))
[(1 3 5 7 9) (0 2 4 6 8)]
(map (juxt fn? ifn?) [#(%) {} [] ()])
([true true] [false true] [false true] [false false])
(map (juxt ifn? fn?) [:hello identity])
([true false] [true true])
((juxt quot mod) (dec 9) 3)
[2 2]
((juxt remove filter) even? (range 5))
[(1 3) (0 2 4)]
((juxt first second) [1 2 3])
[1 2]
(reduce + ((juxt inc dec) 10))
20(apply (juxt min max) (range 10))
[0 9]
(map (juxt inc) [1 2 3])
([2] [3] [4])
((apply apply apply juxt [[[+ *]]]))
[0 1]
((juxt print-str pr-str) [2 3 4])
["[2 3 4]" "[2 3 4]"]
(update-in {:foo [5 10], :bar [15]} [:foo 1] + 2)
{:bar [15], :foo [5 12]}
(let [{i :foo} :ivec {:foo {:bar 1, :baz 2}}] i)
nil(get-in {:foo {"plain iso/12345" "this is the body"}} [:foo #"plain"])
nil(macroexpand-1 '(let [x :foo {a x} {:foo 1}] a))
(let [x :foo {a x} {:foo 1}] a)
(cons :foo [:baz :maz])
(:foo :baz :maz)
(cons 'a {:foo 'bar})
(a [:foo bar])
(-> :foo (hash-map :bar))
{:foo :bar}
(get :foo 42 99)
99(if true (do :foo))
:foo(contains? [:foo :bar] 0)
true(resolve (symbol (name :foo)))
nil(reverse [:foo :bar :baz])
(:baz :bar :foo)
(or nil :foo :bar)
:foo(pr-str (map name [:foo]))
"(\"foo\")"(:foo {:x 1} :not-there)
:not-there(take 3 (repeat :foo))
(:foo :foo :foo)

