Liking cljdoc? Tell your friends :D

hara.object.framework.print


assoc-print-varsclj

(assoc-print-vars read {:keys [tag prefix print display]})

helper to assoc print vars in options

(print/assoc-print-vars {} {:tag "hello"}) => {:tag "hello"}

helper to assoc print vars in options

(print/assoc-print-vars {} {:tag "hello"})
=> {:tag "hello"}
raw docstring

extend-printcljmacro

(extend-print cls)

extend print-method function for a particular class

(macroexpand-1 '(print/extend-print test.Cat))

extend `print-method` function for a particular class

(macroexpand-1 '(print/extend-print test.Cat))
raw docstring

format-valueclj

(format-value v {:keys [tag print display prefix]})

formats the object into a readable string

(print/format-value (test.Cat. "fluffy") {:tag "cat"}) => "#cat{:name "fluffy"}"

formats the object into a readable string

(print/format-value (test.Cat. "fluffy")
                    {:tag "cat"})
=> "#cat{:name \"fluffy\"}"
raw docstring

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

× close