assocs vocabulary
Factor handbook > Vocabulary index


Documentation
Associative mapping operations

Meta-data
Tags:collections
Authors:Daniel Ehrenberg


Words

Tuple classes
ClassSuperclassSlots
enum tupleseq


Mixin classes
assoc


Generic words
WordStack effect
>alist( assoc -- newassoc )
assoc-clone-like( assoc exemplar -- newassoc )
assoc-like( assoc exemplar -- newassoc )
assoc-size( assoc -- n )
at*( key assoc -- value/f ? )
clear-assoc( assoc -- )
delete-at( key assoc -- )
keys( assoc -- keys )
new-assoc( capacity exemplar -- newassoc )
set-at( value key assoc -- )
value-at*( value assoc -- key/f ? )
values( assoc -- values )


Ordinary words
WordStack effect
2cache( ... key1 key2 assoc quot: ( ... key1 key2 -- ... value ) -- ... value )
<enum>( seq -- enum )
?at( key assoc -- value/key ? )
?of( assoc key -- value/key ? )
assoc-all?( ... assoc quot: ( ... key value -- ... ? ) -- ... ? )
assoc-any?( ... assoc quot: ( ... key value -- ... ? ) -- ... ? )
assoc-combine( seq -- union )
assoc-diff( assoc1 assoc2 -- diff )
assoc-diff!( assoc1 assoc2 -- assoc1 )
assoc-differ( key -- quot )
assoc-each( ... assoc quot: ( ... key value -- ... ) -- ... )
assoc-empty?( assoc -- ? )
assoc-filter( ... assoc quot: ( ... key value -- ... ? ) -- ... subassoc )
assoc-filter!( ... assoc quot: ( ... key value -- ... ? ) -- ... assoc )
assoc-filter-as( ... assoc quot: ( ... key value -- ... ? ) exemplar -- ... subassoc )
assoc-find( ... assoc quot: ( ... key value -- ... ? ) -- ... key value ? )
assoc-hashcode( n assoc -- code )
assoc-intersect( assoc1 assoc2 -- intersection )
assoc-map( ... assoc quot: ( ... key value -- ... newkey newvalue ) -- ... newassoc )
assoc-map-as( ... assoc quot: ( ... key value -- ... newkey newvalue ) exemplar -- ... newassoc )
assoc-partition( ... assoc quot: ( ... key value -- ... ? ) -- ... true-assoc false-assoc )
assoc-refine( seq -- assoc )
assoc-reject( ... assoc quot: ( ... key value -- ... ? ) -- ... subassoc )
assoc-reject!( ... assoc quot: ( ... key value -- ... ? ) -- ... assoc )
assoc-reject-as( ... assoc quot: ( ... key value -- ... ? ) exemplar -- ... subassoc )
assoc-stack( key seq -- value )
assoc-subset?( assoc1 assoc2 -- ? )
assoc-union( assoc1 assoc2 -- union )
assoc-union!( assoc1 assoc2 -- assoc1 )
assoc-union-as( assoc1 assoc2 exemplar -- union )
assoc=( assoc1 assoc2 -- ? )
assoc>map( ... assoc quot: ( ... key value -- ... elt ) exemplar -- ... seq )
at( key assoc -- value/f )
at+( n key assoc -- )
cache( ... key assoc quot: ( ... key -- ... value ) -- ... value )
change-at( ..a key assoc quot: ( ..a value -- ..b newvalue ) -- ..b )
delete-at*( key assoc -- old ? )
extract-keys( seq assoc -- subassoc )
harvest-keys( assoc -- assoc' )
harvest-values( assoc -- assoc' )
inc-at( key assoc -- )
key?( key assoc -- ? )
map>alist( ... seq quot: ( ... elt -- ... key value ) -- ... alist )
map>assoc( ... seq quot: ( ... elt -- ... key value ) exemplar -- ... assoc )
maybe-set-at( value key assoc -- changed? )
of( assoc key -- value/f )
push-at( value key assoc -- )
rename-at( newkey key assoc -- )
sift-keys( assoc -- assoc' )
sift-values( assoc -- assoc' )
substitute( seq assoc -- newseq )
unzip( assoc -- keys values )
value-at( value assoc -- key/f )
value?( value assoc -- ? )
zip( keys values -- alist )
zip-as( keys values exemplar -- assoc )
zip-index( values -- alist )
zip-index-as( values exemplar -- assoc )


Class predicate words
WordStack effect
assoc?( object -- ? )
enum?( object -- ? )


Files


Children from resource:extra
VocabularySummary
assocs.extrasassocs.extras vocabulary


Children
VocabularySummary
assocs.privateassocs.private vocabulary