when-not
already defines an implicit do
. Rely on it.
Examples:
; bad (when-not x (do (println :a) (println :b) :c))
; good (when-not x (println :a) (println :b) :c)
`when-not` already defines an implicit `do`. Rely on it. Examples: ; bad (when-not x (do (println :a) (println :b) :c)) ; good (when-not x (println :a) (println :b) :c)
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 |