Handbook
Glossary
pprint ( obj -- )
Factor handbook
»
Developer tools
»
The prettyprinter
Prev:
short. ( obj -- )
Next:
pprint-short ( obj -- )
Vocabulary
prettyprint
Inputs
obj
an
object
Outputs
None
Word description
Prettyprints an object to
output-stream
. Output is influenced by many variables; see
Prettyprint control variables
.
Warning
Unparsing a large object can take a long time and consume a lot of memory. If you need to print large objects, use
pprint-short
or set some
Prettyprint control variables
to limit output size.
See also
pprint*
,
with-pprint
Definition
USING:
prettyprint.custom
prettyprint.sections
;
IN:
prettyprint
:
pprint
( obj -- )
[
pprint*
]
with-pprint
;