do-length-limit ( seq -- trimmed n/f )


Vocabulary
prettyprint.backend

Inputs
seqa sequence


Outputs
trimmeda trimmed sequence
n/fan integer or f


Word description
If the length-limit is set and the sequence length exceeds this limit, trims the sequence and outputs a the number of elements which were chopped off the end. Otherwise outputs f.

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

Definition