Module Predicate.Make
The Make functor constructs an implementation for any OrderedType.
Parameters
Signature
- type elt- = Ord.t
- The type of the elements in the set. 
- val empty : t
- The empty set. 
- val full : t
- The set of all elements (of type - elm).
- val is_empty : t -> bool
- Test whether a set is empty or not. 
- val is_full : t -> bool
- Test whether a set contains the whole type or not. 
- val add : elt -> t -> t
- add x sreturns a set containing all elements of- s, plus- x. If- xwas already in- s, then- sis returned unchanged.
- val remove : elt -> t -> t
- remove x sreturns a set containing all elements of- s, except- x. If- xwas not in- s, then- sis returned unchanged.