nsequence ( n exemplar -- quot )
Generalized sequence words

Prev:narray ( n -- quot )
Next:firstn ( n -- quot )


Vocabulary
sequences.generalizations

Inputs
nan integer


Outputs
None

Word description
A generalization of 2sequence, 3sequence, and 4sequence that constructs a sequence from the top n elements of the stack.

Examples
USING: prettyprint sequences.generalizations ; CHAR: f CHAR: i CHAR: s CHAR: h 4 "" nsequence .
"fish"


See also
narray

Definition