Liking cljdoc? Tell your friends :D
Clojure only.

noahtheduke.splint.rules.lint.when-do


when-doclj

when already defines an implicit do. Rely on it.

Examples:

; bad (when x (do (println :a) (println :b) :c))

; good (when x (println :a) (println :b) :c)

`when` already defines an implicit `do`. Rely on it.

Examples:

; bad
(when x (do (println :a) (println :b) :c))

; good
(when x (println :a) (println :b) :c)
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close