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

enum-ordinal->name enum-set exact-integerprocedure

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

(enum-ordinal->name color 0) ⇒ red
(enum-ordinal->name pizza 3) ⇒ hawaiian