sets vocabulary
Factor handbook ยป Vocabulary index


Documentation
Sets

Metadata
Tags:collections
Authors:Slava Pestov, Doug Coleman


Words

Mixin classes
set


Generic words
WordStack effect
?adjoin( elt set -- ? )
?delete( 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 -- )
diff!( set1 set2 -- set1 )
gather( ... seq quot: ( ... elt -- ... elts ) -- ... newseq )
intersect!( set1 set2 -- set1 )
intersect-all( sets -- set/f )
union!( set1 set2 -- set1 )
union-all( sets -- set/f )
within( seq set -- subseq )
without( seq set -- subseq )


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


Files


Metadata files


Children from resource:extra
VocabularySummary
sets.extras


Children
VocabularySummary
sets.private