Skip to main content

formatter-out

macrov1.2

clojure.pprint/formatter-out

Available in:BBCLJCLJS
(formatter-out [format-in])
Makes a function which can directly run format-in. The function is fn [& args] ... and returns nil. This version of the formatter macro is designed to be used with *out* set to an appropriate Writer. In particular, this is meant to be used as part of a pretty printer dispatch method. format-in can be either a control string or a previously compiled format.

No examples yet. Be the first to add one!