`sig
module Hashtbl :
sig
type ('a, 'b) t = ('a, 'b) Stdlib.Hashtbl.t
val create : ?random:bool -> int -> ('a, 'b) MoreLabels.Hashtbl.t
val clear : ('a, 'b) MoreLabels.Hashtbl.t -> unit
val reset : ('a, 'b) MoreLabels.Hashtbl.t -> unit
val copy :
('a, 'b) MoreLabels.Hashtbl.t -> ('a, 'b) MoreLabels.Hashtbl.t
val add : ('a, 'b) MoreLabels.Hashtbl.t -> key:'a -> data:'b -> unit
val find : ('a, 'b) MoreLabels.Hashtbl.t -> 'a -> 'b
val find_opt : ('a, 'b) MoreLabels.Hashtbl.t -> 'a -> 'b option
val find_all : ('a, 'b) MoreLabels.Hashtbl.t -> 'a -> 'b list
val mem : ('a, 'b) MoreLabels.Hashtbl.t -> 'a -> bool
val remove : ('a, 'b) MoreLabels.Hashtbl.t -> 'a -> unit
val replace :
('a, 'b) MoreLabels.Hashtbl.t -> key:'a -> data:'b -> unit
val iter :
f:(key:'a -> data:'b -> unit) ->
('a, 'b) MoreLabels.Hashtbl.t -> unit
val filter_map_inplace :
f:(key:'a -> data:'b -> 'b option) ->
('a, 'b) MoreLabels.Hashtbl.t -> unit
val fold :
f:(key:'a -> data:'b -> 'acc -> 'acc) ->
('a, 'b) MoreLabels.Hashtbl.t -> init:'acc -> 'acc
val length : ('a, 'b) MoreLabels.Hashtbl.t -> int
val randomize : unit -> unit
val is_randomized : unit -> bool
val rebuild :
?random:bool ->
('a, 'b) MoreLabels.Hashtbl.t -> ('a, 'b) MoreLabels.Hashtbl.t
type statistics =
Stdlib.Hashtbl.statistics = {
num_bindings : int;
num_buckets : int;
max_bucket_length : int;
bucket_histogram : int array;
}
val stats :
('a, 'b) MoreLabels.Hashtbl.t -> MoreLabels.Hashtbl.statistics
val to_seq : ('a, 'b) MoreLabels.Hashtbl.t -> ('a * 'b) Stdlib.Seq.t
val to_seq_keys : ('a, 'b) MoreLabels.Hashtbl.t -> 'a Stdlib.Seq.t
val to_seq_values : ('a, 'b) MoreLabels.Hashtbl.t -> 'b Stdlib.Seq.t
val add_seq :
('a, 'b) MoreLabels.Hashtbl.t -> ('a * 'b) Stdlib.Seq.t -> unit
val replace_seq :
('a, 'b) MoreLabels.Hashtbl.t -> ('a * 'b) Stdlib.Seq.t -> unit
val of_seq : ('a * 'b) Stdlib.Seq.t -> ('a, 'b) MoreLabels.Hashtbl.t
module type HashedType =
sig
type t
val equal :
MoreLabels.Hashtbl.HashedType.t ->
MoreLabels.Hashtbl.HashedType.t -> bool
val hash : MoreLabels.Hashtbl.HashedType.t -> int
end
module type S =
sig
type key
type !'a t
val create : int -> 'a MoreLabels.Hashtbl.S.t
val clear : 'a MoreLabels.Hashtbl.S.t -> unit
val reset : 'a MoreLabels.Hashtbl.S.t -> unit
val copy : 'a MoreLabels.Hashtbl.S.t -> 'a MoreLabels.Hashtbl.S.t
val add :
'a MoreLabels.Hashtbl.S.t ->
key:MoreLabels.Hashtbl.S.key -> data:'a -> unit
val remove :
'a MoreLabels.Hashtbl.S.t -> MoreLabels.Hashtbl.S.key -> unit
val find :
'a MoreLabels.Hashtbl.S.t -> MoreLabels.Hashtbl.S.key -> 'a
val find_opt :
'a MoreLabels.Hashtbl.S.t ->
MoreLabels.Hashtbl.S.key -> 'a option
val find_all :
'a MoreLabels.Hashtbl.S.t -> MoreLabels.Hashtbl.S.key -> 'a list
val replace :
'a MoreLabels.Hashtbl.S.t ->
key:MoreLabels.Hashtbl.S.key -> data:'a -> unit
val mem :
'a MoreLabels.Hashtbl.S.t -> MoreLabels.Hashtbl.S.key -> bool
val iter :
f:(key:MoreLabels.Hashtbl.S.key -> data:'a -> unit) ->
'a MoreLabels.Hashtbl.S.t -> unit
val filter_map_inplace :
f:(key:MoreLabels.Hashtbl.S.key -> data:'a -> 'a option) ->
'a MoreLabels.Hashtbl.S.t -> unit
val fold :
f:(key:MoreLabels.Hashtbl.S.key -> data:'a -> 'acc -> 'acc) ->
'a MoreLabels.Hashtbl.S.t -> init:'acc -> 'acc
val length : 'a MoreLabels.Hashtbl.S.t -> int
val stats :
'a MoreLabels.Hashtbl.S.t -> MoreLabels.Hashtbl.statistics
val to_seq :
'a MoreLabels.Hashtbl.S.t ->
(MoreLabels.Hashtbl.S.key * 'a) Stdlib.Seq.t
val to_seq_keys :
'a MoreLabels.Hashtbl.S.t ->
MoreLabels.Hashtbl.S.key Stdlib.Seq.t
val to_seq_values : 'a MoreLabels.Hashtbl.S.t -> 'a Stdlib.Seq.t
val add_seq :
'a MoreLabels.Hashtbl.S.t ->
(MoreLabels.Hashtbl.S.key * 'a) Stdlib.Seq.t -> unit
val replace_seq :
'a MoreLabels.Hashtbl.S.t ->
(MoreLabels.Hashtbl.S.key * 'a) Stdlib.Seq.t -> unit
val of_seq :
(MoreLabels.Hashtbl.S.key * 'a) Stdlib.Seq.t ->
'a MoreLabels.Hashtbl.S.t
end
module Make :
(H : HashedType) ->
sig
type key = H.t
type 'a t = 'a Hashtbl.Make(H).t
val create : int -> 'a t
val clear : 'a t -> unit
val reset : 'a t -> unit
val copy : 'a t -> 'a t
val add : 'a t -> key:key -> data:'a -> unit
val remove : 'a t -> key -> unit
val find : 'a t -> key -> 'a
val find_opt : 'a t -> key -> 'a option
val find_all : 'a t -> key -> 'a list
val replace : 'a t -> key:key -> data:'a -> unit
val mem : 'a t -> key -> bool
val iter : f:(key:key -> data:'a -> unit) -> 'a t -> unit
val filter_map_inplace :
f:(key:key -> data:'a -> 'a option) -> 'a t -> unit
val fold :
f:(key:key -> data:'a -> 'acc -> 'acc) ->
'a t -> init:'acc -> 'acc
val length : 'a t -> int
val stats : 'a t -> statistics
val to_seq : 'a t -> (key * 'a) Seq.t
val to_seq_keys : 'a t -> key Seq.t
val to_seq_values : 'a t -> 'a Seq.t
val add_seq : 'a t -> (key * 'a) Seq.t -> unit
val replace_seq : 'a t -> (key * 'a) Seq.t -> unit
val of_seq : (key * 'a) Seq.t -> 'a t
end
module type SeededHashedType =
sig
type t
val equal :
MoreLabels.Hashtbl.SeededHashedType.t ->
MoreLabels.Hashtbl.SeededHashedType.t -> bool
val seeded_hash :
int -> MoreLabels.Hashtbl.SeededHashedType.t -> int
end
module type SeededS =
sig
type key
type !'a t
val create : ?random:bool -> int -> 'a MoreLabels.Hashtbl.SeededS.t
val clear : 'a MoreLabels.Hashtbl.SeededS.t -> unit
val reset : 'a MoreLabels.Hashtbl.SeededS.t -> unit
val copy :
'a MoreLabels.Hashtbl.SeededS.t ->
'a MoreLabels.Hashtbl.SeededS.t
val add :
'a MoreLabels.Hashtbl.SeededS.t ->
key:MoreLabels.Hashtbl.SeededS.key -> data:'a -> unit
val remove :
'a MoreLabels.Hashtbl.SeededS.t ->
MoreLabels.Hashtbl.SeededS.key -> unit
val find :
'a MoreLabels.Hashtbl.SeededS.t ->
MoreLabels.Hashtbl.SeededS.key -> 'a
val find_opt :
'a MoreLabels.Hashtbl.SeededS.t ->
MoreLabels.Hashtbl.SeededS.key -> 'a option
val find_all :
'a MoreLabels.Hashtbl.SeededS.t ->
MoreLabels.Hashtbl.SeededS.key -> 'a list
val replace :
'a MoreLabels.Hashtbl.SeededS.t ->
key:MoreLabels.Hashtbl.SeededS.key -> data:'a -> unit
val mem :
'a MoreLabels.Hashtbl.SeededS.t ->
MoreLabels.Hashtbl.SeededS.key -> bool
val iter :
f:(key:MoreLabels.Hashtbl.SeededS.key -> data:'a -> unit) ->
'a MoreLabels.Hashtbl.SeededS.t -> unit
val filter_map_inplace :
f:(key:MoreLabels.Hashtbl.SeededS.key -> data:'a -> 'a option) ->
'a MoreLabels.Hashtbl.SeededS.t -> unit
val fold :
f:(key:MoreLabels.Hashtbl.SeededS.key -> data:'a -> 'acc -> 'acc) ->
'a MoreLabels.Hashtbl.SeededS.t -> init:'acc -> 'acc
val length : 'a MoreLabels.Hashtbl.SeededS.t -> int
val stats :
'a MoreLabels.Hashtbl.SeededS.t -> MoreLabels.Hashtbl.statistics
val to_seq :
'a MoreLabels.Hashtbl.SeededS.t ->
(MoreLabels.Hashtbl.SeededS.key * 'a) Stdlib.Seq.t
val to_seq_keys :
'a MoreLabels.Hashtbl.SeededS.t ->
MoreLabels.Hashtbl.SeededS.key Stdlib.Seq.t
val to_seq_values :
'a MoreLabels.Hashtbl.SeededS.t -> 'a Stdlib.Seq.t
val add_seq :
'a MoreLabels.Hashtbl.SeededS.t ->
(MoreLabels.Hashtbl.SeededS.key * 'a) Stdlib.Seq.t -> unit
val replace_seq :
'a MoreLabels.Hashtbl.SeededS.t ->
(MoreLabels.Hashtbl.SeededS.key * 'a) Stdlib.Seq.t -> unit
val of_seq :
(MoreLabels.Hashtbl.SeededS.key * 'a) Stdlib.Seq.t ->
'a MoreLabels.Hashtbl.SeededS.t
end
module MakeSeeded :
(H : SeededHashedType) ->
sig
type key = H.t
type 'a t = 'a Hashtbl.MakeSeeded(H).t
val create : ?random:bool -> int -> 'a t
val clear : 'a t -> unit
val reset : 'a t -> unit
val copy : 'a t -> 'a t
val add : 'a t -> key:key -> data:'a -> unit
val remove : 'a t -> key -> unit
val find : 'a t -> key -> 'a
val find_opt : 'a t -> key -> 'a option
val find_all : 'a t -> key -> 'a list
val replace : 'a t -> key:key -> data:'a -> unit
val mem : 'a t -> key -> bool
val iter : f:(key:key -> data:'a -> unit) -> 'a t -> unit
val filter_map_inplace :
f:(key:key -> data:'a -> 'a option) -> 'a t -> unit
val fold :
f:(key:key -> data:'a -> 'acc -> 'acc) ->
'a t -> init:'acc -> 'acc
val length : 'a t -> int
val stats : 'a t -> statistics
val to_seq : 'a t -> (key * 'a) Seq.t
val to_seq_keys : 'a t -> key Seq.t
val to_seq_values : 'a t -> 'a Seq.t
val add_seq : 'a t -> (key * 'a) Seq.t -> unit
val replace_seq : 'a t -> (key * 'a) Seq.t -> unit
val of_seq : (key * 'a) Seq.t -> 'a t
end
val hash : 'a -> int
val seeded_hash : int -> 'a -> int
val hash_param : int -> int -> 'a -> int
val seeded_hash_param : int -> int -> int -> 'a -> int
end
module Map :
sig
module type OrderedType =
sig
type t
val compare :
MoreLabels.Map.OrderedType.t ->
MoreLabels.Map.OrderedType.t -> int
end
module type S =
sig
type key
type +!'a t
val empty : 'a MoreLabels.Map.S.t
val add :
key:MoreLabels.Map.S.key ->
data:'a -> 'a MoreLabels.Map.S.t -> 'a MoreLabels.Map.S.t
val add_to_list :
key:MoreLabels.Map.S.key ->
data:'a ->
'a list MoreLabels.Map.S.t -> 'a list MoreLabels.Map.S.t
val update :
key:MoreLabels.Map.S.key ->
f:('a option -> 'a option) ->
'a MoreLabels.Map.S.t -> 'a MoreLabels.Map.S.t
val singleton : MoreLabels.Map.S.key -> 'a -> 'a MoreLabels.Map.S.t
val remove :
MoreLabels.Map.S.key ->
'a MoreLabels.Map.S.t -> 'a MoreLabels.Map.S.t
val merge :
f:(MoreLabels.Map.S.key -> 'a option -> 'b option -> 'c option) ->
'a MoreLabels.Map.S.t ->
'b MoreLabels.Map.S.t -> 'c MoreLabels.Map.S.t
val union :
f:(MoreLabels.Map.S.key -> 'a -> 'a -> 'a option) ->
'a MoreLabels.Map.S.t ->
'a MoreLabels.Map.S.t -> 'a MoreLabels.Map.S.t
val cardinal : 'a MoreLabels.Map.S.t -> int
val bindings :
'a MoreLabels.Map.S.t -> (MoreLabels.Map.S.key * 'a) list
val min_binding :
'a MoreLabels.Map.S.t -> MoreLabels.Map.S.key * 'a
val min_binding_opt :
'a MoreLabels.Map.S.t -> (MoreLabels.Map.S.key * 'a) option
val max_binding :
'a MoreLabels.Map.S.t -> MoreLabels.Map.S.key * 'a
val max_binding_opt :
'a MoreLabels.Map.S.t -> (MoreLabels.Map.S.key * 'a) option
val choose : 'a MoreLabels.Map.S.t -> MoreLabels.Map.S.key * 'a
val choose_opt :
'a MoreLabels.Map.S.t -> (MoreLabels.Map.S.key * 'a) option
val find : MoreLabels.Map.S.key -> 'a MoreLabels.Map.S.t -> 'a
val find_opt :
MoreLabels.Map.S.key -> 'a MoreLabels.Map.S.t -> 'a option
val find_first :
f:(MoreLabels.Map.S.key -> bool) ->
'a MoreLabels.Map.S.t -> MoreLabels.Map.S.key * 'a
val find_first_opt :
f:(MoreLabels.Map.S.key -> bool) ->
'a MoreLabels.Map.S.t -> (MoreLabels.Map.S.key * 'a) option
val find_last :
f:(MoreLabels.Map.S.key -> bool) ->
'a MoreLabels.Map.S.t -> MoreLabels.Map.S.key * 'a
val find_last_opt :
f:(MoreLabels.Map.S.key -> bool) ->
'a MoreLabels.Map.S.t -> (MoreLabels.Map.S.key * 'a) option
val iter :
f:(key:MoreLabels.Map.S.key -> data:'a -> unit) ->
'a MoreLabels.Map.S.t -> unit
val fold :
f:(key:MoreLabels.Map.S.key -> data:'a -> 'acc -> 'acc) ->
'a MoreLabels.Map.S.t -> init:'acc -> 'acc
val map :
f:('a -> 'b) -> 'a MoreLabels.Map.S.t -> 'b MoreLabels.Map.S.t
val mapi :
f:(MoreLabels.Map.S.key -> 'a -> 'b) ->
'a MoreLabels.Map.S.t -> 'b MoreLabels.Map.S.t
val filter :
f:(MoreLabels.Map.S.key -> 'a -> bool) ->
'a MoreLabels.Map.S.t -> 'a MoreLabels.Map.S.t
val filter_map :
f:(MoreLabels.Map.S.key -> 'a -> 'b option) ->
'a MoreLabels.Map.S.t -> 'b MoreLabels.Map.S.t
val partition :
f:(MoreLabels.Map.S.key -> 'a -> bool) ->
'a MoreLabels.Map.S.t ->
'a MoreLabels.Map.S.t * 'a MoreLabels.Map.S.t
val split :
MoreLabels.Map.S.key ->
'a MoreLabels.Map.S.t ->
'a MoreLabels.Map.S.t * 'a option * 'a MoreLabels.Map.S.t
val is_empty : 'a MoreLabels.Map.S.t -> bool
val mem : MoreLabels.Map.S.key -> 'a MoreLabels.Map.S.t -> bool
val equal :
cmp:('a -> 'a -> bool) ->
'a MoreLabels.Map.S.t -> 'a MoreLabels.Map.S.t -> bool
val compare :
cmp:('a -> 'a -> int) ->
'a MoreLabels.Map.S.t -> 'a MoreLabels.Map.S.t -> int
val for_all :
f:(MoreLabels.Map.S.key -> 'a -> bool) ->
'a MoreLabels.Map.S.t -> bool
val exists :
f:(MoreLabels.Map.S.key -> 'a -> bool) ->
'a MoreLabels.Map.S.t -> bool
val to_list :
'a MoreLabels.Map.S.t -> (MoreLabels.Map.S.key * 'a) list
val of_list :
(MoreLabels.Map.S.key * 'a) list -> 'a MoreLabels.Map.S.t
val to_seq :
'a MoreLabels.Map.S.t -> (MoreLabels.Map.S.key * 'a) Stdlib.Seq.t
val to_rev_seq :
'a MoreLabels.Map.S.t -> (MoreLabels.Map.S.key * 'a) Stdlib.Seq.t
val to_seq_from :
MoreLabels.Map.S.key ->
'a MoreLabels.Map.S.t -> (MoreLabels.Map.S.key * 'a) Stdlib.Seq.t
val add_seq :
(MoreLabels.Map.S.key * 'a) Stdlib.Seq.t ->
'a MoreLabels.Map.S.t -> 'a MoreLabels.Map.S.t
val of_seq :
(MoreLabels.Map.S.key * 'a) Stdlib.Seq.t -> 'a MoreLabels.Map.S.t
end
module Make :
(Ord : OrderedType) ->
sig
type key = Ord.t
type 'a t = 'a Map.Make(Ord).t
val empty : 'a t
val add : key:key -> data:'a -> 'a t -> 'a t
val add_to_list : key:key -> data:'a -> 'a list t -> 'a list t
val update :
key:key -> f:('a option -> 'a option) -> 'a t -> 'a t
val singleton : key -> 'a -> 'a t
val remove : key -> 'a t -> 'a t
val merge :
f:(key -> 'a option -> 'b option -> 'c option) ->
'a t -> 'b t -> 'c t
val union :
f:(key -> 'a -> 'a -> 'a option) -> 'a t -> 'a t -> 'a t
val cardinal : 'a t -> int
val bindings : 'a t -> (key * 'a) list
val min_binding : 'a t -> key * 'a
val min_binding_opt : 'a t -> (key * 'a) option
val max_binding : 'a t -> key * 'a
val max_binding_opt : 'a t -> (key * 'a) option
val choose : 'a t -> key * 'a
val choose_opt : 'a t -> (key * 'a) option
val find : key -> 'a t -> 'a
val find_opt : key -> 'a t -> 'a option
val find_first : f:(key -> bool) -> 'a t -> key * 'a
val find_first_opt : f:(key -> bool) -> 'a t -> (key * 'a) option
val find_last : f:(key -> bool) -> 'a t -> key * 'a
val find_last_opt : f:(key -> bool) -> 'a t -> (key * 'a) option
val iter : f:(key:key -> data:'a -> unit) -> 'a t -> unit
val fold :
f:(key:key -> data:'a -> 'acc -> 'acc) ->
'a t -> init:'acc -> 'acc
val map : f:('a -> 'b) -> 'a t -> 'b t
val mapi : f:(key -> 'a -> 'b) -> 'a t -> 'b t
val filter : f:(key -> 'a -> bool) -> 'a t -> 'a t
val filter_map : f:(key -> 'a -> 'b option) -> 'a t -> 'b t
val partition : f:(key -> 'a -> bool) -> 'a t -> 'a t * 'a t
val split : key -> 'a t -> 'a t * 'a option * 'a t
val is_empty : 'a t -> bool
val mem : key -> 'a t -> bool
val equal : cmp:('a -> 'a -> bool) -> 'a t -> 'a t -> bool
val compare : cmp:('a -> 'a -> int) -> 'a t -> 'a t -> int
val for_all : f:(key -> 'a -> bool) -> 'a t -> bool
val exists : f:(key -> 'a -> bool) -> 'a t -> bool
val to_list : 'a t -> (key * 'a) list
val of_list : (key * 'a) list -> 'a t
val to_seq : 'a t -> (key * 'a) Seq.t
val to_rev_seq : 'a t -> (key * 'a) Seq.t
val to_seq_from : key -> 'a t -> (key * 'a) Seq.t
val add_seq : (key * 'a) Seq.t -> 'a t -> 'a t
val of_seq : (key * 'a) Seq.t -> 'a t
end
end
module Set :
sig
module type OrderedType =
sig
type t
val compare :
MoreLabels.Set.OrderedType.t ->
MoreLabels.Set.OrderedType.t -> int
end
module type S =
sig
type elt
type t
val empty : MoreLabels.Set.S.t
val add :
MoreLabels.Set.S.elt -> MoreLabels.Set.S.t -> MoreLabels.Set.S.t
val singleton : MoreLabels.Set.S.elt -> MoreLabels.Set.S.t
val remove :
MoreLabels.Set.S.elt -> MoreLabels.Set.S.t -> MoreLabels.Set.S.t
val union :
MoreLabels.Set.S.t -> MoreLabels.Set.S.t -> MoreLabels.Set.S.t
val inter :
MoreLabels.Set.S.t -> MoreLabels.Set.S.t -> MoreLabels.Set.S.t
val disjoint : MoreLabels.Set.S.t -> MoreLabels.Set.S.t -> bool
val diff :
MoreLabels.Set.S.t -> MoreLabels.Set.S.t -> MoreLabels.Set.S.t
val cardinal : MoreLabels.Set.S.t -> int
val elements : MoreLabels.Set.S.t -> MoreLabels.Set.S.elt list
val min_elt : MoreLabels.Set.S.t -> MoreLabels.Set.S.elt
val min_elt_opt : MoreLabels.Set.S.t -> MoreLabels.Set.S.elt option
val max_elt : MoreLabels.Set.S.t -> MoreLabels.Set.S.elt
val max_elt_opt : MoreLabels.Set.S.t -> MoreLabels.Set.S.elt option
val choose : MoreLabels.Set.S.t -> MoreLabels.Set.S.elt
val choose_opt : MoreLabels.Set.S.t -> MoreLabels.Set.S.elt option
val find :
MoreLabels.Set.S.elt ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.elt
val find_opt :
MoreLabels.Set.S.elt ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.elt option
val find_first :
f:(MoreLabels.Set.S.elt -> bool) ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.elt
val find_first_opt :
f:(MoreLabels.Set.S.elt -> bool) ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.elt option
val find_last :
f:(MoreLabels.Set.S.elt -> bool) ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.elt
val find_last_opt :
f:(MoreLabels.Set.S.elt -> bool) ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.elt option
val iter :
f:(MoreLabels.Set.S.elt -> unit) -> MoreLabels.Set.S.t -> unit
val fold :
f:(MoreLabels.Set.S.elt -> 'acc -> 'acc) ->
MoreLabels.Set.S.t -> init:'acc -> 'acc
val map :
f:(MoreLabels.Set.S.elt -> MoreLabels.Set.S.elt) ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.t
val filter :
f:(MoreLabels.Set.S.elt -> bool) ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.t
val filter_map :
f:(MoreLabels.Set.S.elt -> MoreLabels.Set.S.elt option) ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.t
val partition :
f:(MoreLabels.Set.S.elt -> bool) ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.t * MoreLabels.Set.S.t
val split :
MoreLabels.Set.S.elt ->
MoreLabels.Set.S.t ->
MoreLabels.Set.S.t * bool * MoreLabels.Set.S.t
val is_empty : MoreLabels.Set.S.t -> bool
val mem : MoreLabels.Set.S.elt -> MoreLabels.Set.S.t -> bool
val equal : MoreLabels.Set.S.t -> MoreLabels.Set.S.t -> bool
val compare : MoreLabels.Set.S.t -> MoreLabels.Set.S.t -> int
val subset : MoreLabels.Set.S.t -> MoreLabels.Set.S.t -> bool
val for_all :
f:(MoreLabels.Set.S.elt -> bool) -> MoreLabels.Set.S.t -> bool
val exists :
f:(MoreLabels.Set.S.elt -> bool) -> MoreLabels.Set.S.t -> bool
val to_list : MoreLabels.Set.S.t -> MoreLabels.Set.S.elt list
val of_list : MoreLabels.Set.S.elt list -> MoreLabels.Set.S.t
val to_seq_from :
MoreLabels.Set.S.elt ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.elt Stdlib.Seq.t
val to_seq :
MoreLabels.Set.S.t -> MoreLabels.Set.S.elt Stdlib.Seq.t
val to_rev_seq :
MoreLabels.Set.S.t -> MoreLabels.Set.S.elt Stdlib.Seq.t
val add_seq :
MoreLabels.Set.S.elt Stdlib.Seq.t ->
MoreLabels.Set.S.t -> MoreLabels.Set.S.t
val of_seq :
MoreLabels.Set.S.elt Stdlib.Seq.t -> MoreLabels.Set.S.t
end
module Make :
(Ord : OrderedType) ->
sig
type elt = Ord.t
type t = Set.Make(Ord).t
val empty : t
val add : elt -> t -> t
val singleton : elt -> t
val remove : elt -> t -> t
val union : t -> t -> t
val inter : t -> t -> t
val disjoint : t -> t -> bool
val diff : t -> t -> t
val cardinal : t -> int
val elements : t -> elt list
val min_elt : t -> elt
val min_elt_opt : t -> elt option
val max_elt : t -> elt
val max_elt_opt : t -> elt option
val choose : t -> elt
val choose_opt : t -> elt option
val find : elt -> t -> elt
val find_opt : elt -> t -> elt option
val find_first : f:(elt -> bool) -> t -> elt
val find_first_opt : f:(elt -> bool) -> t -> elt option
val find_last : f:(elt -> bool) -> t -> elt
val find_last_opt : f:(elt -> bool) -> t -> elt option
val iter : f:(elt -> unit) -> t -> unit
val fold : f:(elt -> 'acc -> 'acc) -> t -> init:'acc -> 'acc
val map : f:(elt -> elt) -> t -> t
val filter : f:(elt -> bool) -> t -> t
val filter_map : f:(elt -> elt option) -> t -> t
val partition : f:(elt -> bool) -> t -> t * t
val split : elt -> t -> t * bool * t
val is_empty : t -> bool
val mem : elt -> t -> bool
val equal : t -> t -> bool
val compare : t -> t -> int
val subset : t -> t -> bool
val for_all : f:(elt -> bool) -> t -> bool
val exists : f:(elt -> bool) -> t -> bool
val to_list : t -> elt list
val of_list : elt list -> t
val to_seq_from : elt -> t -> elt Seq.t
val to_seq : t -> elt Seq.t
val to_rev_seq : t -> elt Seq.t
val add_seq : elt Seq.t -> t -> t
val of_seq : elt Seq.t -> t
end
end
end`