Associative mapping operations
Factor handbook > The language > Collections

Prev:Resizable sequence implementation
Next:Linked assocs

An associative mapping, abbreviated assoc, is a collection of key/value pairs which provides efficient lookup and storage indexed by key.

Words used for working with assocs are in the assocs vocabulary.

Associative mappings implement a protocol:
Associative mapping protocol

A large set of utility words work on any object whose class implements the associative mapping protocol.
Lookup and querying of assocs
Transposed assoc operations
Storing keys and values in assocs
Associative mapping combinators
Set-theoretic operations on assocs
Associative mapping conversions