(type (with-meta {:foo 'bar} {:type ::my-type}))
:user/my-type(assoc {2 1} (denominator 1/2) :foo)
{2 :foo}
((fn [{foo 123}] foo) {:foo 12})
nil(assoc [1 2 3] 1 :foo)
[1 :foo 3]
(flatten (seq {:foo 1, :bar 2}))
(:foo 1 :bar 2)
(with-meta [1 2 3] {:foo true})
[1 2 3]
(macroexpand '(when (even? 1) :foo))
(if (even? 1) (do :foo))
(map (juxt seq? coll? vector? list?) '(() [] (range 10)))
([true true false true] [false true true false] [true true false true])
((juxt :b :d) {:a 5, :b 6, :d 9})
[6 9]
((juxt filter remove) pos? [-1 2 -3 4 -5])
[(2 4) (-1 -3 -5)]
(map (juxt inc dec inc dec) [1 2 3])
([2 0 2 0] [3 1 3 1] [4 2 4 2])
(defn valid_user? [u] (every? some? ((juxt :email :name) u)))
#'user/valid_user?
(defmacro mapmap [ss] (into {} (map (juxt keyword identity) ss)))
#'user/mapmap
(apply compare (map (juxt :time identity) '[a b]))
-1((juxt reduce apply) (partial list '+) [1 2 3])
[(+ (+ 1 2) 3) (+ 1 2 3)]
(defn palindrome? [p] (apply = ((juxt reverse seq) p)))
#'user/palindrome?
(apply (juxt min max) [9 10 2 7 4])
[2 10]
((juxt (comp first list) (comp second list)) 'a 'b)
[a b]
(let [m {:a 1, :b 2, :c 3, :d 4}] ((juxt :a (apply juxt (disj (set (keys m)) :a))) m))
[1 [3 2 4]]
(println {:foo "", :bar " "})
nil"{:foo , :bar }\n"(let [{t +} {+ :foo}] t)
:foo(pr-str (read-string "{:foo 'symbol}"))
"{:foo (quote symbol)}"(type #^{:type :foo} {:a 1})
:foo(apply str (nfirst (map name [:foo])))
"oo"(select-keys {:foo 1, :bar 2} [:bar])
{:bar 2}
(map seqable? ["okay" () nil 7 :foo])
(true true true false false)
(update-in {} [:foo] (fnil conj #{}) 1)
{:foo #{1}}
(def #^{ :foo "bar"} x 7)
#'user/x
(meta (read-string "^{:foo :bar} []"))
{:foo :bar}
(meta (pop (with-meta [:a] {:foo :bar})))
{:foo :bar}
(first (seq {:foo 1, :bar 2}))
[:foo 1]
({1 :foo, 2 :bar} (int 1))
:foo(vals {:foo 1, :bar 2})
(1 2)
(flatten (seq {:foo "bar", :a 1}))
(:foo "bar" :a 1)
(def x [{:a :foo} {:a :bar}])
#'user/x
(do (def foo :foo) (ns-publics *ns*))
{foo #'user/foo}
(apply hash-map [:foo 1 :bar 2])
{:bar 2, :foo 1}
({1 :foo, 2 :bar} (Integer. 1))
:foo(println (assoc {:foo 17} :bar "bar"))
nil"{:foo 17, :bar bar}\n"(defn #^{:foo :bar} f [] :f)
#'user/f
(let [&env :foo] `(identity ~&env))
(clojure.core/identity :foo)
(apply concat {:foo :bar, :baz :quux})
(:foo :bar :baz :quux)
(reduce into [] {:foo 1, :bar 2})
[:foo 1 :bar 2]
((read-string "myfunc") {:bar 3, :foo 2})
nil(get {:a 1, :b 2} :foo)
nil(some #{false} [:foo false true])
nil(group-by (some-fn :foo :bar identity) [{:foo "foo", :bar "bar"} {:bar "bar", :hurm 1} {:something :else}])
{"bar" [{:bar "bar", :hurm 1}], "foo" [{:bar "bar", :foo "foo"}], {:something :else} [{:something :else}]}
(into {} (map (juxt key (comp inc val))) {:a 1})
{:a 2}
(map (juxt key (comp :doc meta val)) (ns-publics 'clojure.set))
([union "Return a set that is the union of the input sets"] [map-invert "Returns the map with the vals mapped to the keys."] [join "When passed 2 rels, returns the rel corresponding to the natural\n join. When passed an additional keymap, joins on the corresponding\n keys."] [select "Returns a set of the elements for which pred is true"] [intersection "Return a set that is the intersection of th...
((juxt = not= < <= > >=) Double/NaN 4)
[false true false false false false]

