An interval: a range (x, y) of set values where all the elements from x to y inclusive are in the set
module Interval : sig ... endval pp : Stdlib.Format.formatter -> t -> unitPretty-print a set
val empty : tThe empty set
val is_empty : t -> boolTest whether a set is empty or not
fold f t acc folds f across all the intervals in t
fold_individual f t acc folds f across all the individual elements of t
min_elt t returns the smallest (in terms of the ordering) interval in t, or raises Not_found if the set is empty.
max_elt t returns the largest (in terms of the ordering) interval in t, or raises Not_found if the set is empty.
take n returns Some a, b where cardinal a = n and diff t a = b or None if cardinal t < n