Liking cljdoc? Tell your friends :D
Clojure only.

criterium.utils.forms


cond*cljmacro

(cond* & clauses)

A cond variant that allows :let bindings visible to subsequent clauses.

Example: (cond* (foo?) (handle-foo) :let [a 5] (> a 3) (handle-big a) :let [b (+ a 1)] (bar? b) (handle-bar b) :else (default-handler a b))

A cond variant that allows :let bindings visible to subsequent clauses.

Example:
   (cond*
     (foo?) (handle-foo)
     :let [a 5]
     (> a 3) (handle-big a)
     :let [b (+ a 1)]
     (bar? b) (handle-bar b)
     :else (default-handler a b))
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