(let [x 1] (+ x 1))
2
(let [#^String x \a] (prn x))
nil
"\\a\n"
(let [a (long 3)] (class a))
java.lang.Long
(let [a (String. "hello")] (.toString a))
"hello"
(let [[& [silently]] [true]] (not silently))
false
(let [x 1] (def y x))
#'user/y
(let [x 12343] (identical? x x))
true
(let [&env :foo] `(identity ~&env))
(clojure.core/identity :foo)
(let [λ 14.7] (/ 1 λ))
0.06802721088435375
(let [&? 2] (+ 3 &?))
5
(let [^int x 7] (Integer. x))
7
(let [{:keys [a]} {:whatever/a 0}] a)
nil
(let [x "123"] (.length #^String x))
3
(let [[x y] [1 2]] x)
1
(let [a 10] (+ a 23))
33
(let [a-a 1 a_a 2] a-a)
1
(let [do +] (do 1 2))
2
(let [x Double/NaN] (= x x))
true
(let [^Long o 0] (inc o))
1
(let [x 123] (+ x 456))
579
(let [a 1] (macroexpand '(test1)))
(test1)
(let [string "foo"] (.hashCode #^java.lang.String string))
101574
(let [Popo. (fn [] (println "a"))] (Popo.))
nil
"a\n"
(let [x 10] (* x x))
100
(let [? 3.14] (* 2 ?))
6.28
(macroexpand '(let [[x] (range)] x))
(let [[x] (range)] x)
(let [{a :c} {:c 1}] a)
1
(let (x 3 y 4) x)
3
(let [{foo :foo} [[:foo 12]]] foo)
nil
(macroexpand '(let [[x] [1]] x))
(let [[x] [1]] x)
(let [x 5] (+ x 2))
7
(let [& 5] ((fn [&] &)))
5
(let [a1 1 a2 a1] a2)
1
(let [string "foo"] (.hashCode #^String string))
101574
(let [- +] (- 2 1))
3
(let [#^int i 0] (println i))
nil
"0\n"
(let [[a b c] (range)] b)
1
(let [x 10] `(x ~x))
(user/x 10)
(let [[{a :a}] [[:a :A]]] a)
nil
(let [{:keys [::foo]} {::foo 42}] foo)
42
(let [x 1] (defn x [] x))
#'user/x
(let [[a & b] '()] 0)
0
(let [k (keys {:id 1})] k)
(:id)
(let [x 5] `(x ~x))
(user/x 5)
(let [f <] (f 1 2))
true
(let [a (Double/NaN)] (= a a))
true
(let [===== =] (===== 1 1))
true
(let [x 1] `(:foo ~x))
(:foo 1)
(let [auxN (+ 1 4)] auxN)
5
(let [{:keys [ox/static?]} {:ox/static? true}] static?)
true