take ( gen n -- seq )
Generators

Prev:skip ( gen -- )
Next:take-all ( gen -- seq )


Vocabulary
generators

Inputs
gena generator
nan integer


Outputs
seqa sequence


Word description
Takes the next n values from the generator, collecting them into a sequence.

Definition