sets vocabulary
Factor handbook > Vocabulary index


Documentation
Sets

Meta-data
Tags:collections
Authors:Slava Pestov, Doug Coleman


Words

Mixin classes
set


Generic words
WordStack effect
?adjoin( elt set -- ? )
adjoin( elt set -- )
all-unique?( set -- ? )
cardinality( set -- n )
clear-set( set -- )
delete( elt set -- )
diff( set1 set2 -- set )
duplicates( set -- seq )
fast-set( set -- set' )
in?( elt set -- ? )
intersect( set1 set2 -- set )
intersects?( set1 set2 -- ? )
members( set -- seq )
null?( set -- ? )
set-like( set exemplar -- set' )
set=( set1 set2 -- ? )
subset?( set1 set2 -- ? )
union( set1 set2 -- set )


Ordinary words
WordStack effect
adjoin-all( seq set -- )
adjoin-at( value key assoc -- )
combine( sets -- set/f )
conjoin( elt assoc -- )
conjoin-at( value key assoc -- )
diff!( set1 set2 -- set1 )
gather( ... seq quot: ( ... elt -- ... elt' ) -- ... newseq )
intersect!( set1 set2 -- set1 )
intersection( sets -- set/f )
refine( sets -- set/f )
union!( set1 set2 -- set1 )
unique( seq -- assoc )
within( seq set -- subseq )
without( seq set -- subseq )


Class predicate words
WordStack effect
set?( object -- ? )


Files


Children from resource:extra
VocabularySummary
sets.extrassets.extras vocabulary


Children
VocabularySummary
sets.privatesets.private vocabulary