clojure.pprint
*
The base to use for printing integers and rationals.
valueThe column at which to enter miser style. Depending on the dispatch table, miser style add newlines in more places to t...
valueThe pretty print dispatch function. Use with-pprint-dispatch or set-pprint-dispatch to modify.
multimethodBind to true if you want write to use pretty printing
valuePrint a radix specifier in front of integers and rationals. If *print-base* is 2, 8, or 16, then the radix specifier us...
valuePretty printing will try to avoid anything going beyond this column. Set it to nil to have pprint let the line be arbitr...
valueDon't print namespaces with symbols. This is particularly useful when pretty printing the results of macro expansions
value
C
An implementation of a Common Lisp compatible format function. cl-format formats its arguments to an output stream or st...
function([writer format-in & args])
The pretty print dispatch function for pretty printing Clojure code.
multimethod[[object]]
F
Makes a function which can directly run format-in. The function is fn [stream & args] ... and returns nil unless the str...
macro([format-in])
Makes a function which can directly run format-in. The function is fn [& args] ... and returns nil. This version of the ...
macro([format-in])
Make a newline if *out* is not already at the beginning of the line. If *out* is not a pretty writer (which keeps track ...
function([])
G
Returns the java.io.Writer passed in wrapped in a pretty writer proxy, unless it's already a pretty writer. Generally, ...
function([writer])
P
A convenience macro that pretty prints the last thing output. This is exactly equivalent to (pprint *1).
macro([])
Pretty print object to the optional output writer. If the writer is not provided, print the object to the currently bou...
function([object] [object writer])
Create an indent at this point in the pretty printing stream. This defines how following lines are indented. relative-t...
function([relative-to n])
Execute the body as a pretty printing logical block with output to *out* which must be a pretty printing writer. When u...
macro[[options* body]]
Print a conditional newline to a pretty printing stream. kind specifies if the newline is :linear, :miser, :fill, or :m...
function([kind])
Tab at this point in the pretty printing stream. kind specifies whether the tab is :line, :section, :line-relative, or :...
function([kind colnum colinc])
A version of loop that iterates at most *print-length* times. This is designed for use in pretty-printer dispatch funct...
macro([bindings & body])
Prints a collection of maps in a textual table. Prints table headings ks, and then a line of output for each row, cor...
function([ks rows] [rows])
S
Set the pretty print dispatch function to a function matching (fn [obj] ...) where obj is the object to pretty print. Th...
function([function])
The pretty print dispatch function for simple data structure format.
multimethod[[object]]
W
Execute body with the pretty print dispatch function bound to function.
macro([function & body])
Write an object subject to the current bindings of the printer control variables. Use the kw-args argument to override i...
function([object & kw-args])
Write an object to *out* subject to the current bindings of the printer control variables. Use the kw-args argument to ...
function([object])