first-unsafe ( seq -- first ) - Factor Documentation

first-unsafe ( seq -- first )


Vocabulary
sequences .private

Inputs
seq a sequence


Outputs
first the first element


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

Definition
USING: kernel ;

IN: sequences.private

: first-unsafe ( seq -- first ) 0 swap nth-unsafe ; inline

AltStyle によって変換されたページ (->オリジナル) /