Liking cljdoc? Tell your friends :D

convex.eval

Quick helpers built on top of convex.cvm/eval.

Systematically forks the used context before any operation so that it remains intact.

Notably useful when writing tests.

Quick helpers built on top of [[convex.cvm/eval]].

Systematically forks the used context before any operation so that it remains intact.

Notably useful when writing tests.
raw docstring

ctxclj

(ctx ctx cell)

Evaluates the given cell and returns ctx.

Evaluates the given `cell` and returns `ctx`.
sourceraw docstring

exceptionclj

(exception ctx cell)

Like ctx but returns the current exception or nil if there is none.

Like [[ctx]] but returns the current exception or nil if there is none.
sourceraw docstring

exception-codeclj

(exception-code ctx cell)

Shortcut on top of exception. Returns the code of the exception associated with ctx or nil if no exception occured.

Shortcut on top of [[exception]]. Returns the code of the exception associated with `ctx` or
nil if no exception occured.
sourceraw docstring

resultclj

(result ctx cell)

Like ctx but returns the result.

Like [[ctx]] but returns the result.
sourceraw docstring

true?clj

(true? ctx cell)

Shortcut on top of result. Returns true if the result is CVX true.

Notably useful for test assertions.

Shortcut on top of [[result]]. Returns true if the result is CVX true.

Notably useful for test assertions.
sourceraw docstring

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

× close