Handbook
Glossary
nesting-limit? ( -- ? )
Vocabulary
prettyprint
.
backend
Inputs
None
Outputs
?
a
boolean
Word description
Tests if the
nesting-limit
has been reached.
Notes
This word should only be called from inside the
with-pprint
combinator.
Definition
USING:
kernel
math
namespaces
prettyprint.config
prettyprint.sections
sequences
;
IN:
prettyprint.backend
:
nesting-limit?
( -- ? )
nesting-limit
get
dup
[
pprinter-stack
get
length
<
]
when
;