Skip to main content

pprint

Jump to function (2)

pprint/pprint#

(pprint form & [width])

Pretty-print a data structure to stdout with line breaks and indentation.

Example:

(pprint {:a [1 2 3] :b {:c 4 :d 5}})

pprint/pprint-str#

(pprint-str form & [width])

Pretty-print a data structure to a string with line breaks and indentation.

Example:

(pprint-str {:a [1 2 3] :b {:c 4 :d 5}})