Liking cljdoc? Tell your friends :D

taggie.print

Custom printing rules for standard objects.

Custom printing rules for standard objects.
raw docstring

defprintcljmacro

(defprint Type value writer & body)

Two in one: define a custom printing logic for both print-method and print-dup multimethods.

  • Type is class;
  • value is a binding symbol for a value of this type;
  • writer is a binding symbol for a Writer instance;
  • body is the writing logic.
Two in one: define a custom printing logic for both
`print-method` and `print-dup` multimethods.

- Type is class;
- value is a binding symbol for a value of this type;
- writer is a binding symbol for a Writer instance;
- body is the writing logic.
sourceraw docstring

(print-str-class Type)

A shortcut that produces a string like: #SomeClass 'string value'

A shortcut that produces a string like:
#SomeClass 'string value'
sourceraw docstring

(print-str-tag Type tag)

Like print-str-class but accepts a custom tag.

Like `print-str-class` but accepts a custom tag.
sourceraw docstring

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

× close