You're viewing version 1.2.0 of with-pprint-dispatch. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

with-pprint-dispatch

clojure.pprint

  • (with-pprint-dispatch function & body)
Execute body with the pretty print dispatch function bound to function.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/pprint/pprint_base.clj:274 top

(defmacro with-pprint-dispatch 
  "Execute body with the pretty print dispatch function bound to function."
  {:added "1.2"}
  [function & body]
  `(binding [*print-pprint-dispatch* ~function]
     ~@body))
Vars in clojure.pprint/with-pprint-dispatch: defmacro with-pprint-dispatch *print-pprint-dispatch* apply binding concat list seq vector
Used in 0 other vars

Comments top

No comments for with-pprint-dispatch. Log in to add a comment.