type 'a t = 'a Base.Hash_set.tval sexp_of_t : ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.tinclude Base.Container.Generic with type 'a t := 'a t with type 'a elt := 'a
val length : 'a t -> intval is_empty : 'a t -> boolval iter : 'a t -> f:('a -> unit) -> unitval fold : 'a t -> init:'accum -> f:('accum -> 'a -> 'accum) -> 'accumval fold_result : 'a t -> init:'accum -> f:('accum -> 'a -> ('accum, 'e) Base.Result.t) -> ('accum, 'e) Base.Result.tval fold_until : 'a t -> init:'accum -> f:('accum -> 'a -> ('accum, 'final) Base__Container_intf.Export.Continue_or_stop.t) -> finish:('accum -> 'final) -> 'finalval exists : 'a t -> f:('a -> bool) -> boolval for_all : 'a t -> f:('a -> bool) -> boolval count : 'a t -> f:('a -> bool) -> intval sum : (module Base__Container_intf.Summable with type t = 'sum) -> 'a t -> f:('a -> 'sum) -> 'sumval find : 'a t -> f:('a -> bool) -> 'a optionval find_map : 'a t -> f:('a -> 'b option) -> 'b optionval to_list : 'a t -> 'a listval to_array : 'a t -> 'a arrayval min_elt : 'a t -> compare:('a -> 'a -> int) -> 'a optionval max_elt : 'a t -> compare:('a -> 'a -> int) -> 'a optionval mem : 'a t -> 'a -> booloverride Container.Generic.mem
val add : 'a t -> 'a -> unitval strict_add : 'a t -> 'a -> unit Base.Or_error.tstrict_add t x returns Ok () if the x was not in t, or an Error if it was.
val strict_add_exn : 'a t -> 'a -> unitval remove : 'a t -> 'a -> unitval strict_remove : 'a t -> 'a -> unit Base.Or_error.tstrict_remove t x returns Ok () if the x was in t, or an Error if it was not.
val strict_remove_exn : 'a t -> 'a -> unitval clear : 'a t -> unitval filter_inplace : 'a t -> f:('a -> bool) -> unitinter t1 t2 computes the set intersection of t1 and t2. Runs in O(min(length t1, length t2)). Behavior is undefined if t1 and t2 don't have the same equality function.
val of_hashtbl_keys : ('a, _) Base.Hashtbl.t -> 'a tval to_hashtbl : 'a t -> f:('key -> 'data) -> ('key, 'data) Base.Hashtbl.tval hashable : 'key t -> 'key Hashtbl.Hashable.tmodule type Elt_plain = Hashtbl.Key_plainmodule type Elt = Hashtbl.Keymodule type Elt_binable = Hashtbl.Key_binablemodule Using_hashable : sig ... endmodule Poly : sig ... endA hash set that uses polymorphic comparison.
module Make_binable : functor (Elt : Elt_binable) -> S_binable with type elt = Elt.tmodule type Sexp_of_m = sig ... endmodule type M_of_sexp = sig ... endval sexp_of_m__t : (module Sexp_of_m with type t = 'elt) -> 'elt t -> Base.Sexp.tval m__t_of_sexp : (module M_of_sexp with type t = 'elt) -> Base.Sexp.t -> 'elt t