Liking cljdoc? Tell your friends :D

cider.nrepl.print-method

Extending print-method defined in clojure.core, to provide prettier versions of some objects. This applies to anything that calls print-method, which includes return values, pr, print and the likes.

Extending `print-method` defined in clojure.core, to provide
prettier versions of some objects. This applies to anything that
calls `print-method`, which includes return values, `pr`, `print`
and the likes.
raw docstring

*pretty-objects*clj

If true, cider prettifies some object descriptions. For instance, instead of printing functions as #object[clojure.core$PLUS 0x4e648e99 "clojure.core$PLUS@4e648e99"] they are printed as #function[clojure.core/+]

To disable this feature, do (alter-var-root #'cider.nrepl.print-method/pretty-objects not)

If true, cider prettifies some object descriptions.
For instance, instead of printing functions as
    #object[clojure.core$_PLUS_ 0x4e648e99 "clojure.core$_PLUS_@4e648e99"]
they are printed as
    #function[clojure.core/+]

To disable this feature, do
    (alter-var-root #'cider.nrepl.print-method/*pretty-objects* not)
sourceraw docstring

def-print-methodcljmacro

(def-print-method dispatch-val arg & strings)
source

multifn-nameclj

(multifn-name mfn)
source

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

× close