chickadee » srfi-209 » enum-ordinal->value

enum-ordinal->value enum-set exact-integerprocedure

Returns the value of the enum belonging to enum-type whose ordinal is exact-integer. It is an error if there is no such enum.

(enum-ordinal->value pizza 1) ⇒ "mushrooms"