module type Enumerable =sig..end
A signature for data structures which may be converted to and from enum.
If you create a new data structure, you should make it compatible
with Enumerable.
type 'a enumerable
The data structure, e.g. 'a List.t
val enum : 'a enumerable -> 'a BatEnum.tReturn an enumeration of the elements of the data structure
val of_enum : 'a BatEnum.t -> 'a enumerableBuild a data structure from an enumeration