nproduce-as ( pred quot exemplar... n -- seq... )
Generalized sequence words

Prev:nproduce ( pred quot n -- seq... )


Vocabulary
sequences.generalizations

Inputs and outputs
preda quotation with stack effect ( -- ? )
quota quotation with stack effect ( -- obj1 obj2 ... objn )
exemplar...n sequences on the datastack
nan integer
seq...n sequences on the datastack of the same types as the exemplars


Word description
A generalization of produce-as that generates n sequences in parallel by calling quot repeatedly until pred outputs false.

Definition