Up

Module type Creators0

Signature

type ('a, 'cmp) set
type t
type tree
type elt
type comparator_witness
val empty : t
val singleton : elt -> t
val union_list : t list -> t
val of_list : elt list -> t
val of_array : elt array -> t
val of_sorted_array : elt array -> t Or_error.t
val of_sorted_array_unchecked : elt array -> t
val stable_dedup_list : elt list -> elt list
val map : ('a, _) set -> f:('a -> elt) -> t
val filter_map : ('a, _) set -> f:('a -> elt option) -> t
val of_tree : tree -> t
val of_map_keys : (elt, _, comparator_witness) Map.t -> t