Skip to main content

set-pprint-dispatch

functionv1.2

clojure.pprint/set-pprint-dispatch

Available in:CLJCLJS
(set-pprint-dispatch [function])
Set the pretty print dispatch function to a function matching (fn [obj] ...) where obj is the object to pretty print. That function will be called with *out* set to a pretty printing writer to which it should do its printing. For example functions, see simple-dispatch and code-dispatch in clojure.pprint.dispatch.clj.

No examples yet. Be the first to add one!