Liking cljdoc? Tell your friends :D

erdos.assert

A small library for power assertions support in Clojure.

A small library for power assertions support in Clojure.
raw docstring

-emit-codecljmacro

(-emit-code expr)
source

assertcljmacro

(assert e)
(assert e msg)

Power assert macro. Like clojure.core/assert but the thrown AssertionError message contains the expression examined.

Power assert macro.
Like clojure.core/assert but the thrown AssertionError message contains the expression examined.
sourceraw docstring

ensurecljmacro

(ensure e)
(ensure e msg)

Like assert but throws ExceptionInfo when condition does not hold and can not be turned off with assert var.

Like assert but throws ExceptionInfo when condition does not hold and can not be turned off with *assert* var.
sourceraw docstring

examinecljmacro

(examine expr)

Prints expression to out. Returns value of expression.

Prints expression to *out*. Returns value of expression.
sourceraw docstring

examine-strcljmacro

(examine-str expr)

Returns tuple of evaluated value and examined string.

Returns tuple of evaluated value and examined string.
sourceraw docstring

(print-bars x->vals)
source

rest*clj

(rest* x)

Like clojure.core/rest but returns nil when form is already realized and tail is nil.

Like clojure.core/rest but returns nil when form is already realized and tail is nil.
sourceraw docstring

safe-pr-strclj

(safe-pr-str obj)
source

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

× close