Handbook
Glossary
direct-tail* ( seq n -- seq' )
Factor handbook
»
The language
»
Collections
»
Specialized arrays
»
Specialized array words
Prev:
direct-head* ( seq n -- seq' )
Vocabulary
specialized-arrays
Inputs
seq
a specialized array
n
an
integer
Outputs
seq'
a new specialized array
Word description
Constructs a new specialized array of the same type as
seq
sharing the same underlying memory as the last
n
elements of
seq
. Like
tail*
, raises an error if
n
is out of bounds.
See also
direct-slice
,
direct-head
,
direct-tail
,
direct-head*
Definition
USING:
sequences
;
IN:
specialized-arrays
:
direct-tail*
( seq n -- seq' )
from-tail
direct-tail
;
inline