Liking cljdoc? Tell your friends :D

orchard.print

Custom 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
Custom 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
raw docstring

*max-atom-length*clj

Maximum length of the string written to the Writer in one call.

Maximum length of the string written to the Writer in one call.
sourceraw docstring

*max-total-length*clj

Maximum total size of the resulting string.

Maximum total size of the resulting string.
sourceraw docstring

printcljmultimethod

source

(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.
sourceraw docstring

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

× close