A hash table for the values, an array for the ordinals.

On Sun, Sep 20, 2020 at 2:39 PM Amirouche Boubekki <xxxxxx@gmail.com> wrote:
It seems to me reading the specification that enum-next and enum-prev
can not be implemented if the enum-type is using a hash-table.

Rationale suggests hash-table as a way to implement it

ref: https://srfi.schemers.org/srfi-209/srfi-209.html#enum-objects