 value of the discriminant must be one of the cases of the
union.</p>
<h3 id="sec25" class="subsection">3.7 Enums</h3>
<p>IDL enums are translated to Caml enumerated types (sum types with only
constant constructors). The names of the constructors are determined
by the names of the enum labels. The values attached to the enum
labels are ignored.
Example:
<span class=machine><span class=font-tt>enum e </span></span><span class=machine><span class=font-tt>{</span></span><span class=machine><span class=font-t