Liking cljdoc? Tell your friends :D

cider.inlined-deps.cljs-tooling.v0v3v0.cljs-tooling.util.misc


add-ns-macrosclj

(add-ns-macros sym)

Append $macros to the input symbol

Append $macros to the input symbol
sourceraw docstring

as-symclj

(as-sym x)
source

cond-letcljmacro

(cond-let test-binding then-form & more)

An implementation of cond-let that is as similar as possible to if-let. Takes multiple test-binding/then-form pairs and evalutes the form if the binding is true. Also supports :else in the place of test-binding and always evaluates the form in that case.

Example: (cond-let [b (bar 1 2 3)] (println :bar b) [f (foo 3 4 5)] (println :foo f) [b (baz 6 7 8)] (println :baz b) :else (println :no-luck))

An implementation of cond-let that is as similar as possible to if-let. Takes multiple
test-binding/then-form pairs and evalutes the form if the binding is true. Also supports
:else in the place of test-binding and always evaluates the form in that case.

Example:
 (cond-let [b (bar 1 2 3)] (println :bar b)
           [f (foo 3 4 5)] (println :foo f)
           [b (baz 6 7 8)] (println :baz b)
           :else           (println :no-luck))
sourceraw docstring

dbgcljmacro

(dbg x)
source

name-symclj

(name-sym sym)

Return the name of a fully qualified symbol if possible.

It leaves the symbol untouched if not.

Return the name of a fully qualified symbol if possible.

It leaves the symbol untouched if not.
sourceraw docstring

namespace-symclj

(namespace-sym sym)

Return the namespace of a fully qualified symbol if possible.

It leaves the symbol untouched if not.

Return the namespace of a fully qualified symbol if possible.

It leaves the symbol untouched if not.
sourceraw docstring

ns-obj?clj

(ns-obj? ns)

Return true if n is a namespace object

Return true if n is a namespace object
sourceraw docstring

remove-macrosclj

(remove-macros sym)

Remove $macros from the input symbol

Remove $macros from the input symbol
sourceraw docstring

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

× close