Vocabulary
sequences

Inputs
seqa sequence
na non-negative integer


Outputs
slicea slice


Word description
Outputs a virtual sequence sharing storage with the first n elements of the input sequence.

Errors
Throws an error if the index is out of bounds.

See also
head, head*, head-slice*

Definition