Next: , Previous: , Up: descriptors compound   [Contents][Index]


4.3.8 Enumeration type descriptors

The following syntactic bindings are exported by the library (vicare system type-descriptors).

Record Type: <enumeration-type-descr>

Name of type descriptors for symbols enumerations. It has the following fields:

symbol*

A list of symbols representing the enumerated items.

Function: make-enumeration-type-descr symbols

Build and return a new instance of <enumeration-type-descr>.

Function: enumeration-type-descr? obj

Return #t if obj is an instance of <enumeration-type-descr>; otherwise return #f.

Function: enumeration-type-descr.symbols* des

Accessor for the field of <enumeration-type-descr> instances.