sequences.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Words

Tuple classes
ClassSuperclassSlots
copier 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 )
(copy)( n copy -- dst )
(map-find)( seq quot find-quot -- result elt )
(open-slice)( shift from to seq ? -- )
(selector-as)( quot length exemplar -- selector accum )
(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 )
<copier>( src-i src dst-i dst -- copier )
<slice-unsafe>( from to seq -- slice )
>sequence<( seq -- i n seq )
>underlying<( slice/seq -- i n slice/seq )
array-flip( matrix -- newmatrix )
array-nth( n array -- elt )
bounds-check-call( n seq quot -- elt i )
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 -- )
collect-from( i n quot into -- )
collect-into( quot into -- quot' )
copy-nth-unsafe( n copy -- )
copy-unsafe( src i dst -- )
dispatch( n array -- )
element/index( i/f seq -- elt/f i/f )
exchange-unsafe( m n seq -- )
filter-from!( store from seq quot: ( ... elt -- ... ? ) -- seq )
find-from-unsafe( ... n seq quot: ( ... elt -- ... ? ) -- ... i elt )
find-last-from-unsafe( ... n seq quot: ( ... elt -- ... ? ) -- ... 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 )
generic-flip( matrix -- newmatrix )
index/element( i/f seq -- i/f elt/f )
integer-length-expected( obj -- * )
joined-length( seq glue -- n )
last-unsafe( seq -- elt )
length-iterator( seq -- n quot' )
length-operator( seq quot -- n quot' )
length-sequence( seq -- n seq )
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 -- )
move-unsafe*( to from seq -- from-nth )
nth2-unsafe( n seq -- a b )
nth3-unsafe( n seq -- a b c )
nths-unsafe( indices seq -- seq' )
open-slice( shift from seq -- )
padding( ... seq n elt quot: ( ... seq1 seq2 -- ... newseq ) -- ... newseq )
second-unsafe( seq -- second )
select-by( ... seq quot: ( ... elt -- ... x ) compare: ( obj1 obj2 -- ? ) -- ... elt )
sequence-hashcode-step( oldhash newpart -- newhash )
sequence-index-operator( seq quot -- n quot' )
sequence-operator( seq quot -- i n quot' )
set-array-nth( elt n array -- )
setup-2each( seq1 seq2 -- n quot )
setup-3each( seq1 seq2 seq3 -- 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 -- ? )
copier?( object -- ? )
integer-array-capacity?( object -- ? )
integer-length-expected?( object -- ? )


Files