Liking cljdoc? Tell your friends :D

clj-util.debug


pprint-varcljmacro

(pprint-var x)

Same as print-var, but uses pprint.

Same as print-var, but uses pprint.
sourceraw docstring

(print-var x)

Prints x's symbol followed by its value. Example: Given a symbol 'some-var with the value 100, (print-var some-var) prints "some-var 100", followed by a newline. Useful for development / debugging.

Prints x's symbol followed by its value.
Example:
Given a symbol 'some-var with the value 100,
(print-var some-var) prints "some-var 100",
followed by a newline.
Useful for development / debugging.
sourceraw docstring

time-mscljmacro

(time-ms expr)

Like Clojure's time fn, but instead of printing, returns a map of :time, :result.

Like Clojure's time fn, but instead of printing,
returns a map of :time, :result.
sourceraw docstring

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

× close