package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include 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
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_sequence : comparator:('a, 'cmp) Base__.Comparator.t -> 'a Base__.Sequence.t -> ('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) t -> f:('a -> 'b) -> ('b, 'cmp) t
val filter_map : comparator:('b, 'cmp) Base__.Comparator.t -> ('a, 'c) t -> f:('a -> 'b option) -> ('b, 'cmp) t
val of_tree : comparator:('a, 'cmp) Base__.Comparator.t -> ('a, 'cmp) Tree.t -> ('a, 'cmp) t
val of_hash_set : comparator:('a, 'cmp) Comparator.t -> 'a Hash_set.t -> ('a, 'cmp) t
val of_hashtbl_keys : comparator:('a, 'cmp) Comparator.t -> ('a, _) Hashtbl.t -> ('a, 'cmp) t
val of_map_keys : ('a, _, 'cmp) Base.Map.t -> ('a, 'cmp) t
val quickcheck_generator : comparator:('a, 'cmp) Comparator.t -> 'a Quickcheck.Generator.t -> ('a, 'cmp) t Quickcheck.Generator.t
OCaml

Innovation. Community. Security.