Module SetDomain.S


module S: sig .. end
Implementation of sets of integers. The signature is freely inspired by the Set module of the standard OCaml library.

type t = Domain.t 
val empty : t
val is_empty : t -> bool
val mem : int -> t -> bool
val add : int -> t -> t
val singleton : int -> t
val remove : int -> t -> t
val union : t -> t -> t
val inter : t -> t -> t
val diff : t -> t -> t
val compare : t -> t -> int
val equal : t -> t -> bool
val subset : t -> t -> bool
val iter : (int -> unit) -> t -> unit
val cardinal : t -> int
val elements : t -> int list
val min_elt : t -> int
val max_elt : t -> int
val choose : t -> int
val remove_up : int -> t -> t
val remove_low : int -> t -> t