(compile-if exp then else)Evaluate exp and if it returns logical true and doesn't error, expand to
then otherwise expand to else.
Evaluate `exp` and if it returns logical true and doesn't error, expand to `then` otherwise expand to `else`.
(returning value & forms)Compute a return value, then execute other forms for side effects. Like prog1 in common lisp, or a (do) that returns the first form.
Compute a return value, then execute other forms for side effects. Like prog1 in common lisp, or a (do) that returns the first form.
(with-timing & body)Same as clojure.core/time but returns a vector of a the result of the code and the milliseconds rather than printing a string. Runs the code in an implicit do.
Same as clojure.core/time but returns a vector of a the result of the code and the milliseconds rather than printing a string. Runs the code in an implicit do.
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 |