- (define-enum ENUMNAME (VALUENAME ...))syntax
Defines an enumeration type. Values of the type can be accessed by the syntax (ENUMNAME VALUENAME). Value names are associated with integer values starting from zero. VALUENAME may also be (VALUENAME VALUE) in the define-enum form to override the current value index.