sequences.private vocabulary
Factor handbook > Vocabulary index


Summary
sequences.private vocabulary

Words

Tuple classes
ClassSuperclassSlots
copy-state tuplesrc-i src dst-i dst
integer-length-expected tupleobj


Predicate classes
ClassSuperclass
array-capacity fixnum
integer-array-capacity integer


Generic words
WordStack effect
nth-unsafe( n seq -- elt )
resize( n seq -- newseq )
set-nth-unsafe( elt n seq -- )


Ordinary words
WordStack effect
(1sequence)( obj seq -- seq )
(2each)( seq1 seq2 quot -- n quot' )
(2sequence)( obj1 obj2 seq -- seq )
(3each)( seq1 seq2 seq3 quot -- n quot' )
(3sequence)( obj1 obj2 obj3 seq -- seq )
(4sequence)( obj1 obj2 obj3 obj4 seq -- seq )
(accumulate)( seq identity quot -- identity seq quot )
(accumulate*)( seq identity quot -- identity seq quot )
(append)( seq1 seq2 accum -- accum )
(binary-reduce)( seq start quot: ( elt1 elt2 -- newelt ) from length -- value )
(collect)( quot into -- quot' )
(copy)( n copy -- dst )
(each-index)( seq quot -- n quot' )
(filter!)( ... quot: ( ... elt -- ... ? ) store scan seq -- ... )
(find)( seq quot quot' -- i elt )
(find-from)( n seq quot quot' -- i elt )
(find-index)( seq quot quot' -- i elt )
(find-index-from)( n seq quot quot' -- i elt )
(head)( seq n -- from to seq )
(map-find)( seq quot find-quot -- result elt )
(open-slice)( shift from to seq ? -- )
(selector-as)( quot length exemplar -- selector accum )
(setup-each)( seq -- n quot )
(subseq-start-from)( subseq seq n length -- subseq seq ? )
(tail)( seq n -- from to seq )
(trim-head)( seq quot -- seq n )
(trim-tail)( seq quot -- seq n )
2nth-unsafe( n seq1 seq2 -- elt1 elt2 )
3nth-unsafe( n seq1 seq2 seq3 -- elt1 elt2 elt3 )
<copy>( src-i src dst-i dst -- copy-state )
<slice-unsafe>( from to seq -- slice )
array-flip( matrix -- newmatrix )
array-length( array -- len )
array-nth( n array -- elt )
bounds-check-head( n seq -- n seq )
change-nth-unsafe( i seq quot -- )
check-copy( src n dst -- src n dst )
check-length( n -- n )
collect( n quot into -- )
copy-nth-unsafe( n copy -- )
copy-unsafe( src i dst -- )
dispatch( n array -- )
exchange-unsafe( m n seq -- )
finish-find( i seq -- i elt )
first-unsafe( seq -- first )
first2-unsafe( seq -- first second )
first3-unsafe( seq -- first second third )
first4-unsafe( seq -- first second third fourth )
fourth-unsafe( seq -- fourth )
from-end( seq n -- seq n' )
generic-flip( matrix -- newmatrix )
integer-length-expected( obj -- * )
joined-length( seq glue -- n )
last-unsafe( seq -- elt )
map-into( seq quot into -- )
mismatch-unsafe( n seq1 seq2 -- i )
move-backward( shift from to seq -- )
move-forward( shift from to seq -- )
move-unsafe( to from seq -- )
nth2-unsafe( n seq -- a b )
nth3-unsafe( n seq -- a b c )
nths-unsafe( indices seq -- seq' )
open-slice( shift from seq -- )
second-unsafe( seq -- second )
select-by( ... seq quot: ( ... elt -- ... x ) compare: ( obj1 obj2 -- ? ) -- ... elt )
sequence-hashcode-step( oldhash newpart -- newhash )
set-array-nth( elt n array -- )
setup-2each( seq1 seq2 -- n quot )
setup-each( seq quot -- n quot' )
subseq-unsafe( from to seq -- subseq )
subseq-unsafe-as( from to seq exemplar -- subseq )
subseq>copy( from to seq -- n copy )
third-unsafe( seq -- third )


Class predicate words
WordStack effect
array-capacity?( object -- ? )
copy-state?( object -- ? )
integer-array-capacity?( object -- ? )
integer-length-expected?( object -- ? )