nth-unsafe ( n seq -- elt )
Factor handbook » The language » Collections » Sequence operations » Sequence protocol

Prev:nth ( n seq -- elt )
Next:?nth ( n seq -- elt/f )


Vocabulary
sequences.private

Inputs
nan integer
seqa sequence


Outputs
eltan object


Generic word contract
Unsafe variant of nth that does not perform bounds checks.

Definition


Methods













































































































































































































































































































































































































M:: zim-cluster nth-unsafe ( n cluster -- elt )
cluster offsets>> :> offsets cluster blobs>> :> blobs 0
offsets nth :> zero n offsets nth :> from n 1 + offsets nth
:> to from to [ zero - ] bi@ blobs subseq ;