Avoid wrapping functions in pass-through anonymous function defitions.
Examples:
; bad (fn [num] (even? num))
; good even?
; bad (let [f (fn [num] (even? num))] ...)
; good (let [f even?] ...)
Avoid wrapping functions in pass-through anonymous function defitions. Examples: ; bad (fn [num] (even? num)) ; good even? ; bad (let [f (fn [num] (even? num))] ...) ; good (let [f even?] ...)
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 |