base

Full standard library replacement for OCaml
IN THIS PACKAGE
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_sequence : elt Sequence.t -> 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 of_increasing_iterator_unchecked : len:int -> f:( int -> elt ) -> 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