Skip to content

clojure.pprint/pprint

View this page on ClojureDocs

Type: function Added: Clojure 1.2 Examples: 6 Runnable: 0
([object] [object writer])

Pretty print object to the optional output writer. If the writer is not provided, print the object to the currently bound value of out.

Examples

by nipra on . May have evaluation errors.
by phreed on . May have evaluation errors.
by mrzor on . May have evaluation errors.
by ibercode on . May have evaluation errors.
by reborg on . May have evaluation errors.
by djblue on . May have evaluation errors.

Note by reborg

When using Clojure from the REPL, you don't need to specify clojure.pprint to use pprint or pp. At the REPL (clojure.pprint x) is equivalent to (pprint x).

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.