enumerated
Factor handbook » The language » Collections » Enumerations

Next:<enumerated> ( seq -- enumerated )


Vocabulary
assocs

Class description
An associative structure which wraps a sequence and maps integers to the corresponding elements of the sequence.

Enumerations are mutable; note that deleting a key calls remove-nth!, which results in all subsequent elements being shifted down.

Definition


Methods