Directly nested lets can be merged into a single let block.
Examples:
(let [a 1] (let [b 2] (println a b)))
(let [a 1 b 2] (println a b))
Directly nested lets can be merged into a single let block.
Examples:
# bad
(let [a 1]
(let [b 2]
(println a b)))
(let [a 1
b 2]
(println a b))
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |