Hardcaml.EnumThe Enum contains functors that can be used to create special interface modules to represent an enumeration type (ie: a variant with no arguments).
module type Cases = sig ... endmodule type S_enum = sig ... endmodule type S_enums = sig ... endConstructs a hardcaml interface which represents hardware for the given Enum as an abstract Interface, using a Binary internal representation.
Similar to Make_binary, but using a one hot representation internally.