Continuous.MakeFunctor building an implementation of the RangeSet.Continuous structure given a totally ordered type.
module Ord : OrderedTypeThe type of the point of a range. A point can be either closed or open, respectively Inc elt or Exc elt where elt is of type elt
The type of the range. A range consists of start and end endpoint.
val point_to_string : point -> stringpoint_to_string point is the written representation of point.
val range_to_string : range -> stringrange_to_string range is the written representation of range.
val to_string : t -> stringto_string set is the written representation of set.
val empty : tThe empty set.
val is_empty : t -> boolis_empty t tests whether t is empty or not.
add x s returns a set containing all elements of s, plus x. If x was already in s, s is returned unchanged.
unmerge r s returns a set containing all elements of s, except those in range r.
cover r s returns a set containing elements both belongs to range r and set s.