Articles are a practical way to provide additional guidance beyond
API documentation. Please refer to the documentation to learn more about using them.
A standard protocol for making custom types in Clojure pretty print in the REPL and elsewhere.
(defrecord MyInt [i]
(pretty [_] (list 'my-int i)))
;; -> (my-int 100)
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries