Module Qcow_diet.Make
Parameters
Signature
type elt= Elt.tThe type of the set elements
type intervalAn 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 empty : tThe empty set
val is_empty : t -> boolTest whether a set is empty or not
val fold : (interval -> 'a -> 'a) -> t -> 'a -> 'afold f t accfoldsfacross all the intervals int
val fold_s : (interval -> 'a -> 'a Lwt.t) -> t -> 'a -> 'a Lwt.tfold_s f t accfoldsfacross all the intervals int
val fold_individual : (elt -> 'a -> 'a) -> t -> 'a -> 'afold_individual f t accfoldsfacross all the individual elements oft
val min_elt : t -> intervalmin_elt treturns the smallest (in terms of the ordering) interval int, or raisesNot_foundif the set is empty.
val max_elt : t -> intervalmax_elt treturns the largest (in terms of the ordering) interval int, or raisesNot_foundif the set is empty.