sig
module type S =
sig
type t
type elt
val create : unit -> ExtSSetImp.S.t
val is_empty : ExtSSetImp.S.t -> bool
val mem : ExtSSetImp.S.elt -> ExtSSetImp.S.t -> bool
val add : ExtSSetImp.S.elt -> ExtSSetImp.S.t -> unit
val add_list : ExtSSetImp.S.elt list -> ExtSSetImp.S.t -> unit
val singleton : ExtSSetImp.S.elt -> ExtSSetImp.S.t
val remove : ExtSSetImp.S.elt -> ExtSSetImp.S.t -> unit
val compare : ExtSSetImp.S.t -> ExtSSetImp.S.t -> int
val equal : ExtSSetImp.S.t -> ExtSSetImp.S.t -> bool
val subset : ExtSSetImp.S.t -> ExtSSetImp.S.t -> bool
val iter : (ExtSSetImp.S.elt -> unit) -> ExtSSetImp.S.t -> unit
val fold : (ExtSSetImp.S.elt -> 'a -> 'a) -> ExtSSetImp.S.t -> 'a -> 'a
val for_all : (ExtSSetImp.S.elt -> bool) -> ExtSSetImp.S.t -> bool
val exists : (ExtSSetImp.S.elt -> bool) -> ExtSSetImp.S.t -> bool
val filter : (ExtSSetImp.S.elt -> bool) -> ExtSSetImp.S.t -> unit
val cardinal : ExtSSetImp.S.t -> int
val elements : ExtSSetImp.S.t -> ExtSSetImp.S.elt list
val min_elt : ExtSSetImp.S.t -> ExtSSetImp.S.elt
val max_elt : ExtSSetImp.S.t -> ExtSSetImp.S.elt
val choose : ExtSSetImp.S.t -> ExtSSetImp.S.elt
val from_list : ExtSSetImp.S.elt list -> ExtSSetImp.S.t
val string_of : ExtSSetImp.S.t -> string
val string_of_complex :
?start_char:string -> ?end_char:string -> ExtSSetImp.S.t -> string
end
module Make :
functor (Ord : ExtSSet.OrderedType) ->
sig
type t = ExtSSet.Make(Ord).t ref
type elt = Ord.t
val create : unit -> t
val is_empty : t -> bool
val mem : elt -> t -> bool
val add : elt -> t -> unit
val add_list : elt list -> t -> unit
val singleton : elt -> t
val remove : elt -> t -> unit
val compare : t -> t -> int
val equal : t -> t -> bool
val subset : t -> t -> bool
val iter : (elt -> unit) -> t -> unit
val fold : (elt -> 'a -> 'a) -> t -> 'a -> 'a
val for_all : (elt -> bool) -> t -> bool
val exists : (elt -> bool) -> t -> bool
val filter : (elt -> bool) -> t -> unit
val cardinal : t -> int
val elements : t -> elt list
val min_elt : t -> elt
val max_elt : t -> elt
val choose : t -> elt
val from_list : elt list -> t
val string_of : t -> string
val string_of_complex :
?start_char:string -> ?end_char:string -> t -> string
end
end