package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Elt : sig ... end
module Diff : sig ... end
type t = (Elt.t, Elt.comparator_witness) Base.Set.t
val compare : t Base__Ppx_compare_lib.compare
val equal : t Base__Ppx_compare_lib.equal
val empty : ('a, 'cmp, t) Core__Set_intf.Without_comparator.t
val singleton : ('a, 'cmp, Elt.t -> t) Core__Set_intf.Without_comparator.t
val union_list : ('a, 'cmp, t list -> t) Core__Set_intf.Without_comparator.t
val of_list : ('a, 'cmp, Elt.t list -> t) Core__Set_intf.Without_comparator.t
val of_sequence : ('a, 'cmp, Elt.t Base__.Sequence.t -> t) Core__Set_intf.Without_comparator.t
val of_array : ('a, 'cmp, Elt.t array -> t) Core__Set_intf.Without_comparator.t
val of_sorted_array : ('a, 'cmp, Elt.t array -> t Base__.Or_error.t) Core__Set_intf.Without_comparator.t
val of_sorted_array_unchecked : ('a, 'cmp, Elt.t array -> t) Core__Set_intf.Without_comparator.t
val of_increasing_iterator_unchecked : ('a, 'cmp, len:int -> f:(int -> Elt.t) -> t) Core__Set_intf.Without_comparator.t
val stable_dedup_list : ('a, 'b, Elt.t list -> Elt.t list) Core__Set_intf.Without_comparator.t
  • deprecated [since 2023-04] Use [List.stable_dedup] instead.
val map : ('b, 'cmp, ('a, 'c) Core__Set_intf.Set.t -> f:('a -> Elt.t) -> t) Core__Set_intf.Without_comparator.t
val filter_map : ('b, 'cmp, ('a, 'c) Core__Set_intf.Set.t -> f:('a -> Elt.t option) -> t) Core__Set_intf.Without_comparator.t
val of_tree : ('a, 'cmp, (Elt.t, Elt.comparator_witness) Core__Set_intf.Tree.t -> t) Core__Set_intf.Without_comparator.t
val of_hash_set : ('a, 'cmp, Elt.t Hash_set.t -> t) Core__Set_intf.Without_comparator.t
val of_hashtbl_keys : ('a, 'cmp, (Elt.t, 'b) Hashtbl.t -> t) Core__Set_intf.Without_comparator.t
val of_map_keys : (Elt.t, 'a, Elt.comparator_witness) Base.Map.t -> t
val quickcheck_generator : ('a, 'cmp, Elt.t Quickcheck.Generator.t -> t Quickcheck.Generator.t) Core__Set_intf.Without_comparator.t
module Provide_of_sexp (Elt : sig ... end) : sig ... end
module Provide_bin_io (Elt : sig ... end) : sig ... end
module Provide_hash (Elt : sig ... end) : sig ... end
val quickcheck_observer : Elt.t Quickcheck.Observer.t -> t Quickcheck.Observer.t
val quickcheck_shrinker : Elt.t Quickcheck.Shrinker.t -> t Quickcheck.Shrinker.t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write.writer
val bin_read_t : t Bin_prot.Read.reader
val __bin_read_t__ : (int -> t) Bin_prot.Read.reader
val bin_shape_t : Bin_prot.Shape.t
val bin_writer_t : t Bin_prot.Type_class.writer
val bin_reader_t : t Bin_prot.Type_class.reader
OCaml

Innovation. Community. Security.