check-recursion ( obj quot: ( obj -- ) -- )


Vocabulary
prettyprint.backend

Inputs
objan object
quota quotation with stack effect ( obj -- )


Outputs
None

Word description
If the object is already being printed, that is, if the prettyprinter has encountered a cycle in the object graph, or if the maximum nesting depth has been reached, outputs a dummy string. Otherwise applies the quotation to the object.

Notes
This word should only be called from inside the with-pprint combinator.

Definition