?firstn ( n -- quot )


Vocabulary
sequences.generalizations

Inputs
nan integer


Outputs
None

Word description
A generalization of ?first that pushes the first n elements of a sequence on the stack, or f if the sequence is shorter than the requested number of elements.

Examples
Some core words expressed in terms of ?firstn:
?first1 ?firstn


Definition