(add-shutdown-hook! f)(compile-if exp then & [else])Evaluate exp and if it returns logical true and doesn't error, expand to
then. Else expand to else.
(compile-if (Class/forName "java.util.concurrent.ForkJoinTask")
(do-cool-stuff-with-fork-join)
(fall-back-to-executor-services))
Taken from https://github.com/clojure/clojure/blob/master/src/clj/clojure/core/reducers.clj#L24
Evaluate `exp` and if it returns logical true and doesn't error, expand to `then`. Else expand to `else`. (compile-if (Class/forName "java.util.concurrent.ForkJoinTask") (do-cool-stuff-with-fork-join) (fall-back-to-executor-services)) Taken from https://github.com/clojure/clojure/blob/master/src/clj/clojure/core/reducers.clj#L24
(compile-if-class-exists k then & [else])(compile-if-ns-exists n then & [else])(set-uncaught-ex-handler! f)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 |