Lookup and querying of assocs
Factor handbook > The language > Collections > Associative mapping operations

Prev:Associative mapping protocol
Next:Transposed assoc operations


Utility operations built up from the Associative mapping protocol:
key? ( key assoc -- ? )

at ( key assoc -- value/f )

?at ( key assoc -- value/key ? )

of ( assoc key -- value/f )

?of ( assoc key -- value/key ? )

assoc-empty? ( assoc -- ? )

keys ( assoc -- keys )

values ( assoc -- values )

assoc-stack ( key seq -- value )


See also
at*, assoc-size