Empty loops with nested when can be while
.
Examples:
; bad (loop [] (when (some-func) (println 1) (println 2) (recur)))
; good (while (some-func) (println 1) (println 2) (recur))
Empty loops with nested when can be `while`. Examples: ; bad (loop [] (when (some-func) (println 1) (println 2) (recur))) ; good (while (some-func) (println 1) (println 2) (recur))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close