grouping vocabulary
Factor handbook > Vocabulary index


Documentation
Groups and clumps

Meta-data
Tags:collections
Authors:Slava Pestov, Joe Groff


Words

Tuple classes
ClassSuperclassSlots
circular-clumps tupleseq n
circular-slice tuplefrom to seq
clumps chunking
groups chunking
groups-error tupleseq n


Ordinary words
WordStack effect
<circular-clumps>( seq n -- clumps )
<circular-slice>( from to seq -- circular-slice )
<clumps>( seq n -- clumps )
<groups>( seq n -- groups )
all-eq?( seq -- ? )
all-equal?( seq -- ? )
circular-clump( seq n -- array )
clump( seq n -- array )
group( seq n -- array )
groups-error( seq n -- * )
monotonic?( seq quot: ( elt1 elt2 -- ? ) -- ? )


Class predicate words
WordStack effect
circular-clumps?( object -- ? )
circular-slice?( object -- ? )
clumps?( object -- ? )
groups-error?( object -- ? )
groups?( object -- ? )


Files


Children from resource:extra
VocabularySummary
grouping.extrasgrouping.extras vocabulary


Children
VocabularySummary
grouping.privategrouping.private vocabulary