(let [[x y] (range)] y)
1
(let [s 'println] (s "Hello..."))
nil
(let [x "hi"] #^:a x)
"hi"
(let [m# 2] (class m#))
java.lang.Long
(let [[a b] [1 2]])
nil
(let [x 33] {:x x})
{:x 33}
(let [+ 5] (resolve '+))
#'clojure.core/+
(let [helper (fn [...] ...)])
nil
((let [x 3] (fn [] x)))
3
(let [do 5] nil do)
5
(let [f (fn [] "hello")] (f))
"hello"
(let [x nil] ^Collection x)
nil
(let [bli #'identity] (bli 24))
24
(let [a 3] #{a})
#{3}
(let [x inc] (x 1))
2
(let [a 1 a 2] a)
1
(let [vex inc] (vex 12))
13
(let [fn list] (fn [] 42))
([] 42)
(let [a \q] print a)
\q
(let [a "s"] (class a))
java.lang.String
(let [-' [10]] `(~@-'))
(10)
(let [v []] (let [n 3] (do (conj v 2) (do (conj v 3)))))
[3]
(let [v [1 2 3]] (let [vv []] (map #(conj vv %) v)))
([1] [2] [3])
(let [eq? (fn [a] (let [b a] (identical? a b))) c 1000] (eq? c))
true
(let [x '(some-expensive-computation)] `(let [x x#] [x# x# x# ~x ~x ~x]))
(clojure.core/let [user/x x__1261041__auto__] [x__1261041__auto__ x__1261041__auto__ x__1261041__auto__ (some-expensive-computation) (some-expensive-computation) (some-expensive-computation)])
(let [form '(print a)] (for [x (range 3)] `(let [~'a ~x] ~form)))
((clojure.core/let [a 0] (print a)) (clojure.core/let [a 1] (print a)) (clojure.core/let [a 2] (print a)))
(let [p true] `(let [x# 7 y# 8] ~(if p `x# `y#)))
(clojure.core/let [x__1246831__auto__ 7 y__1246832__auto__ 8] x__1246829__auto__)
(let [a nil] (get a 1))
nil
(let [& [1 2 3]] &)
[1 2 3]
(let [foo 1] (+ foo 1))
2
(let [n Double/POSITIVE_INFINITY] (= n Double/POSITIVE_INFINITY))
true
(let [{x :x} [:x 1]] x)
nil
(let [x 5] (+ x 4))
9
(let [x 3 y 4] x)
3
(macroexpand '(let [x 1] x))
(let [x 1] x)
((let [x 1] #(identity x)))
1
(let [x 2 x 3] x)
3
(let [c []] (if c "something" "nothing"))
"something"
(let [a 3 b 4] a)
3
(let [sym 'x] ``[~'~sym ~~'sym])
(clojure.core/vec (clojure.core/sequence (clojure.core/seq (clojure.core/concat (clojure.core/list (quote x)) (clojure.core/list sym)))))
(let [{a "country"} {"country" "US"}] a)
"US"
(let [f #'+] (f 1 2))
3
(let [x 1] (+ 5 x))
6
(let [{the-a :a, :keys [b c]}])
nil
(let [foo 5] `(foo ~foo))
(user/foo 5)
(let [+ *] (resolve (symbol "+")))
#'clojure.core/+
(let [x 32] (+ x 10))
42
(let [{:as foo} [:foo 3]] foo)
[:foo 3]
(let [{bar :baz} {:baz "bar"}] bar)
"bar"
(let [a 5 b a] b)
5