(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"}
(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))
(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\"}"
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close