Module Set.Using_comparator
include Core_kernel.Set_intf.Creators2_with_comparator with type ('a, 'b) set := ('a, 'b) t with type ('a, 'b) t := ('a, 'b) t with type ('a, 'b) tree := ('a, 'b) Tree.t
include Core_kernel.Set_intf.Set.Creators2_with_comparator
type ('a, 'cmp) set
type ('a, 'cmp) t
type ('a, 'cmp) tree
val empty : comparator:('a, 'cmp) Base.Comparator.t -> ('a, 'cmp) t
val singleton : comparator:('a, 'cmp) Base.Comparator.t -> 'a -> ('a, 'cmp) t
val union_list : comparator:('a, 'cmp) Base.Comparator.t -> ('a, 'cmp) t list -> ('a, 'cmp) t
val of_list : comparator:('a, 'cmp) Base.Comparator.t -> 'a list -> ('a, 'cmp) t
val of_array : comparator:('a, 'cmp) Base.Comparator.t -> 'a array -> ('a, 'cmp) t
val of_sorted_array : comparator:('a, 'cmp) Base.Comparator.t -> 'a array -> ('a, 'cmp) t Base.Or_error.t
val of_sorted_array_unchecked : comparator:('a, 'cmp) Base.Comparator.t -> 'a array -> ('a, 'cmp) t
val of_increasing_iterator_unchecked : comparator:('a, 'cmp) Base.Comparator.t -> len:int -> f:(int -> 'a) -> ('a, 'cmp) t
val stable_dedup_list : comparator:('a, 'cmp) Base.Comparator.t -> 'a list -> 'a list
val map : comparator:('b, 'cmp) Base.Comparator.t -> ('a, 'c) set -> f:('a -> 'b) -> ('b, 'cmp) t
val filter_map : comparator:('b, 'cmp) Base.Comparator.t -> ('a, 'c) set -> f:('a -> 'b option) -> ('b, 'cmp) t
val of_tree : comparator:('a, 'cmp) Base.Comparator.t -> ('a, 'cmp) tree -> ('a, 'cmp) t
val of_hash_set : comparator:('a, 'cmp) Core_kernel.Comparator.t -> 'a Core_kernel.Hash_set.t -> ('a, 'cmp) t
val of_hashtbl_keys : comparator:('a, 'cmp) Core_kernel.Comparator.t -> ('a, _) Core_kernel.Hashtbl.t -> ('a, 'cmp) t
val of_map_keys : ('a, _, 'cmp) Base.Map.t -> ('a, 'cmp) t
val quickcheck_generator : comparator:('a, 'cmp) Core_kernel.Comparator.t -> 'a Core_kernel.Quickcheck.Generator.t -> ('a, 'cmp) t Core_kernel.Quickcheck.Generator.t