| Value | Description |
val combine : 'a list -> 'a when 'a :> Enum |
Combine enum values using 'logical or'. The relevant enumeration type is inferred from context.
|
val of_int : int -> #Enum |
Convert an integer to an enumeration value. The result type is inferred from context.
|
val test : 'a -> 'a -> bool when 'a :> Enum |
Test if an enumeration value has a particular flag set, using 'logical and'.
The relevant enumeration type is inferred from context.
|
val to_int : #Enum -> int |
Convert an enumeration value to an integer. The argument type is inferred from context.
|