Custom object printer used by development tooling like Inspector. Similar to
Clojure's print-method
. Main objectives:
*print-level*
and *print-length*
variablesCustom object printer used by development tooling like Inspector. Similar to Clojure's `print-method`. Main objectives: - honor `*print-level*` and `*print-length*` variables - provide sufficiently good performance - limit the maximum print size and stop printing after it is reached
When displaying collection diffs, whether to hide matching values.
When displaying collection diffs, whether to hide matching values.
Maximum length of the string written to the Writer in one call.
Maximum length of the string written to the Writer in one call.
Maximum total size of the resulting string.
Maximum total size of the resulting string.
The "point-of-view namespace" for the printer. When bound to a namespace object, use this namespace data to shorten qualified keywords:
::foo
instead of :pov.ns/foo
::alias/foo
instead of :ns.aliases.in.pov.ns/foo
The "point-of-view namespace" for the printer. When bound to a namespace object, use this namespace data to shorten qualified keywords: - print `::foo` instead of `:pov.ns/foo` - print `::alias/foo` instead of `:ns.aliases.in.pov.ns/foo`
(diff-result? x)
Return true if the object represents a diff result.
Return true if the object represents a diff result.
(print-str x)
Alternative implementation of clojure.core/pr-str
which supports truncating
intermediate items and the resulting string and short-circuiting when the
limit is reached.
Alternative implementation of `clojure.core/pr-str` which supports truncating intermediate items and the resulting string and short-circuiting when the limit is reached.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |