base

Full standard library replacement for OCaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library base
Module type Base . Set . Creators2
type ('a, 'cmp) set
type ('a, 'cmp) t
type ('a, 'cmp) tree
val empty : ( 'a, 'cmp ) t
val singleton : 'a -> ( 'a, 'cmp ) t
val union_list : ( 'a, 'cmp ) t list -> ( 'a, 'cmp ) t
val of_list : 'a list -> ( 'a, 'cmp ) t
val of_sequence : 'a Sequence.t -> ( 'a, 'cmp ) t
val of_array : 'a array -> ( 'a, 'cmp ) t
val of_sorted_array : 'a array -> ( 'a, 'cmp ) t Or_error.t
val of_sorted_array_unchecked : 'a array -> ( 'a, 'cmp ) t
val of_increasing_iterator_unchecked : len:int -> f:( int -> 'a ) -> ( 'a, 'cmp ) t
val stable_dedup_list : 'a list -> 'a list
val map : ( 'a, _ ) set -> f:( 'a -> 'b ) -> ( 'b, 'cmp ) t
val filter_map : ( 'a, _ ) set -> f:( 'a -> 'b option ) -> ( 'b, 'cmp ) t
val of_tree : ( 'a, 'cmp ) tree -> ( 'a, 'cmp ) t