generalizations vocabulary
Factor handbook > Vocabulary index


Documentation
Generalized shuffle words and combinators

Meta-data
Authors:Chris Double, Doug Coleman, Eduardo Cavazos, Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
nonpositive-npick tuplen


Macro words
WordStack effect
-nrot( n -- quot )
call-n( n -- quot )
cleave*( n -- quot )
dupn( n -- quot )
map-compose( quots quot -- quot' )
mnswap( m n -- quot )
ncleave( quots n -- quot )
nover( n -- quot )
npick( n -- quot )
nrot( n -- quot )
nspread( quots n -- quot )
nspread*( m n -- quot )
nsum( n -- quot )
nweave( n -- quot )
spread*( n -- quot )


Ordinary words
WordStack effect
apply-curry( a... quot n -- )
cleave-curry( a quot... n -- )
mnapply( quot m n -- )
n*quot( n quot -- quotquot )
napply( quot n -- )
nbi( quot1 quot2 n -- )
nbi-curry( n -- )
ncurry( n -- )
ndip( n -- )
ndrop( n -- )
ndup( n -- )
nkeep( n -- )
nnip( n -- )
nonpositive-npick( n -- * )
nwith( n -- )
repeat( n obj quot -- )
spread-curry( a... quot... n -- )


Class predicate words
WordStack effect
nonpositive-npick?( object -- ? )


Files