Liking cljdoc? Tell your friends :D

qbits.commons.jvm


add-shutdown-hook!clj

(add-shutdown-hook! f)
source

compile-ifcljmacro

(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
sourceraw docstring

compile-if-class-existscljmacro

(compile-if-class-exists k then & [else])
source

compile-if-ns-existscljmacro

(compile-if-ns-exists n then & [else])
source

set-uncaught-ex-handler!clj

(set-uncaught-ex-handler! f)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close