(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |