Sets the precision and rounding mode to be used for BigDecimal operations. Usage: (with-precision 10 (/ 1M 3)) or: (with-precision 10 :rounding HALF_DOWN (/ 1M 3)) The rounding mode is one of CEILING, FLOOR, HALF_UP, HALF_DOWN, HALF_EVEN, UP, DOWN and UNNECESSARY; it defaults to HALF_UP...
Prints a TAP 'not ok' line. msg is a string, with no line breaks
Prints a TAP 'ok' line. msg is a string, with no line breaks
Prints a TAP plan line like '1..n'. n is the number of tests
Takes a proxy class and any arguments for its superclass ctor and creates and returns an instance of the proxy.
Useful when you want to provide several implementations of the same protocol all at once. Takes a single protocol and the implementation of that protocol for one or more types. Expands into calls to extend-type: (extend-protocol Protocol AType (foo [x] ...) (bar [x y] ...) ...
Takes an optional single class followed by zero or more interfaces. If not supplied class defaults to Object. Creates an returns an instance of a proxy class derived from the supplied classes. The resulting value is cached and used for any subsequent requests for the same class set. Returns...
Default printer for explain-data. nil indicates a successful validation.
Prints the class and message of a Throwable. Prints the ex-data map if present.
Recursively transforms form by replacing keys in smap with their values. Like clojure/replace but works on any data structure. Does replacement at the root of the tree first.