(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 is a website building & hosting documentation for Clojure/Script libraries
× close