(let [{{bar :bar} :foo} {:foo {:bar 'baz}}] bar)
baz({:foo "bar", :id 10} {:foo "bar", :id 12})
nil(get-in {:foo {:bar {:baz 3}}} [:foo :bar :baz])
3(let [overrides {:foo :overridden}] (get overrides :foo :default))
:overridden(let [a :foo] (case a :foo (println "YES")))
nil"YES\n"({{:bar 1} :nooo, {:foo nil} :yay} {:foo nil})
:yay((juxt vec first) {1 2})
[[[1 2]] [1 2]]
((juxt identity deref meta) #'+)
[#'clojure.core/+ #object[clojure.core$_PLUS_ 0x35b52c2b "clojure.core$_PLUS_@35b52c2b"] {:ns #object[sci.impl.vars.SciNamespace 0x71bde97b "clojure.core"], :name +, :sci/built-in true, :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: +'", :sci.impl/inlined #object[clojure.core$_PLUS_ 0x35b52c2b "...
((juxt :file :line) (meta #'require))
[nil nil]
(map (juxt inc dec) [0])
([1 -1])
((juxt :name identity) {:name 5})
[5 {:name 5}]
((juxt + -) 3 5)
[8 -2]
((juxt print-str pr-str str) "foo")
["foo" "\"foo\"" "foo"]
((juxt = ==) 3 3.0)
[false true]
((juxt namespace name) (keyword ":::::::foo"))
[nil ":::::::foo"]
((juxt + *) 5 4)
[9 20]
((juxt inc dec inc) 1)
[2 0 2]
(def unzip (juxt keys vals))
#'user/unzip
((juxt neg? pr-str) (- Double/NaN))
[false "##NaN"]
((juxt print-str pr-str) (range 3))
["(0 1 2)" "(0 1 2)"]
((juxt + -) 5 2)
[7 3]
((juxt identity seq) (.toCharArray "moose"))
[#object ["[C" 0x7f438df9 "[C@7f438df9"] (\m \o \o \s \e)]
((juxt inc inc inc) 0)
[1 1 1]
((juxt quot rem) 1019 60)
[16 59]
((juxt identity type) (symbol "true"))
[true clojure.lang.Symbol]
((juxt type identity) (boolean 15))
[java.lang.Boolean true]
((juxt + *) 2 5)
[7 10]
((juxt quot rem) 23 4)
[5 3]
(def divide (juxt filter remove))
#'user/divide
((juxt next rest) [1 2])
[(2) (2)]
(def f1 (juxt filter remove))
#'user/f1
(def separate (juxt filter remove))
#'user/separate
(defmulti foobar (juxt :key1 :key2))
#'user/foobar
((juxt quot mod) 20 6)
[3 2]
((juxt * +) 4 5)
[20 9]
((juxt dec identity inc) 0)
[-1 0 1]
(-> {:foo [1 2]} (update-in [:foo] conj 3) (update-in [:foo 1] + 10) (update-in [:foo] (partial mapv inc)))
{:foo [2 13 4]}
(macroexpand {:foo :bar})
{:foo :bar}
(get (Object.) :foo)
nil((quote clojure.core/class) :foo)
nil(get :foo {} :eek)
:eek(::foo :foo :sandbox/foo)
:sandbox/foo(get :foo 98)
nil(assoc {} :foo :bar)
{:foo :bar}
(get {} :foo ::not-found)
:user/not-found(hash-map :foo "bar")
{:foo "bar"}
(def A :foo)
#'user/A
(format "%10s" :foo)
" :foo"(assoc {} :foo 'bar)
{:foo bar}
(contains? #{} :foo)
false

