shorten ( n seq -- )


Vocabulary
sequences

Inputs
nan integer
seqa sequence


Outputs
None

Word description
Shortens a Resizable sequence implementation sequence to be n elements long.

Examples
USING: sequences prettyprint kernel ; V{ 1 2 3 4 5 } 3 over shorten .
V{ 1 2 3 }


Definition


Methods