#35
Local bindings
 

Difficulty:N/A
Topics:elementary syntax


Clojure lets you give local names to values using the special let-form.
test not run
(= __ (let [x 5] (+ 2 x)))
test not run
(= __ (let [x 3, y 10] (- y x)))
test not run
(= __ (let [x 21] (let [y 3] (/ x y))))


Code which fills in the blank: