Linked assocs - Factor Documentation (original) (raw)

A linked assoc is an assoc which combines an underlying assoc with a dlist to form a structure which has the insertion and retrieval characteristics of the underlying assoc (typically a hashtable), but with the ability to get the entries in insertion order by calling >alist.

Linked assocs are implemented in the linked-assocs vocabulary.

linked-assoc

( -- assoc )
( exemplar -- assoc )