Module Inet_port.Map

module Key : sig ... end with type t = t and type comparator_witness = comparator_witness
module Tree : Core_kernel.Map_intf.Make_S_plain_tree(Key).S
type +'a t = (Key.t'aKey.comparator_witness) Core_kernel.Map_intf.Map.t
val compare : ('a -> 'a -> Core_kernel__.Import.int) -> 'a t -> 'a t -> Core_kernel__.Import.int
val sexp_of_t : ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.t
include Core_kernel.Map_intf.Creators_and_accessors1 with type 'a t := 'a t with type 'a tree := 'a Tree.t with type key := Key.t with type comparator_witness := Key.comparator_witness
include Core_kernel.Map_intf.Creators1
include Core_kernel.Map_intf.Map.Creators1
type 'a t
type 'a tree
type key
type comparator_witness
val empty : 'a t
val singleton : key -> 'a -> 'a t
val of_alist : (key * 'a) list -> [ `Duplicate_key of key | `Ok of 'a t ]
val of_alist_or_error : (key * 'a) list -> 'a t Base.Or_error.t
val of_alist_exn : (key * 'a) list -> 'a t
val of_alist_multi : (key * 'a) list -> 'a list t
val of_alist_fold : (key * 'a) list -> init:'b -> f:('b -> 'a -> 'b) -> 'b t
val of_alist_reduce : (key * 'a) list -> f:('a -> 'a -> 'a) -> 'a t
val of_sorted_array : (key * 'a) array -> 'a t Base.Or_error.t
val of_sorted_array_unchecked : (key * 'a) array -> 'a t
val of_increasing_iterator_unchecked : len:int -> f:(int -> key * 'a) -> 'a t
val of_increasing_sequence : (key * 'a) Base.Sequence.t -> 'a t Base.Or_error.t
val of_sequence : (key * 'a) Base.Sequence.t -> [ `Duplicate_key of key | `Ok of 'a t ]
val of_sequence_or_error : (key * 'a) Base.Sequence.t -> 'a t Base.Or_error.t
val of_sequence_exn : (key * 'a) Base.Sequence.t -> 'a t
val of_sequence_multi : (key * 'a) Base.Sequence.t -> 'a list t
val of_sequence_fold : (key * 'a) Base.Sequence.t -> init:'b -> f:('b -> 'a -> 'b) -> 'b t
val of_sequence_reduce : (key * 'a) Base.Sequence.t -> f:('a -> 'a -> 'a) -> 'a t
val of_iteri : iteri:(f:(key:key -> data:'v -> unit) -> unit) -> [ `Duplicate_key of key | `Ok of 'v t ]
val of_tree : 'a tree -> 'a t
val of_hashtbl_exn : (key'a) Core_kernel.Hashtbl.t -> 'a t
val of_key_set : (keycomparator_witness) Base.Set.t -> f:(key -> 'v) -> 'v t
val quickcheck_generator : key Core_kernel.Quickcheck.Generator.t -> 'a Core_kernel.Quickcheck.Generator.t -> 'a t Core_kernel.Quickcheck.Generator.t
include Core_kernel.Map_intf.Accessors1 with type 'a t := 'a t with type 'a tree := 'a tree with type key := key with type comparator_witness := comparator_witness
include Core_kernel.Map_intf.Map.Accessors1
type 'a t
type 'a tree
type key
type comparator_witness
val invariants : 'a t -> bool
val is_empty : 'a t -> bool
val length : 'a t -> int
val add : 'a t -> key:key -> data:'a -> 'a t Base__.Map_intf.Or_duplicate.t
val add_exn : 'a t -> key:key -> data:'a -> 'a t
val set : 'a t -> key:key -> data:'a -> 'a t
val add_multi : 'a list t -> key:key -> data:'a -> 'a list t
val remove_multi : 'a list t -> key -> 'a list t
val find_multi : 'a list t -> key -> 'a list
val change : 'a t -> key -> f:('a option -> 'a option) -> 'a t
val update : 'a t -> key -> f:('a option -> 'a) -> 'a t
val find : 'a t -> key -> 'a option
val find_exn : 'a t -> key -> 'a
val remove : 'a t -> key -> 'a t
val mem : 'a t -> key -> bool
val iter_keys : 'a t -> f:(key -> unit) -> unit
val iter : 'a t -> f:('a -> unit) -> unit
val iteri : 'a t -> f:(key:key -> data:'a -> unit) -> unit
val iteri_until : 'a t -> f:(key:key -> data:'a -> Base__.Map_intf.Continue_or_stop.t) -> Base__.Map_intf.Finished_or_unfinished.t
val iter2 : 'a t -> 'b t -> f:(key:key -> data:[ `Both of 'a * 'b | `Left of 'a | `Right of 'b ] -> unit) -> unit
val map : 'a t -> f:('a -> 'b) -> 'b t
val mapi : 'a t -> f:(key:key -> data:'a -> 'b) -> 'b t
val fold : 'a t -> init:'b -> f:(key:key -> data:'a -> 'b -> 'b) -> 'b
val fold_right : 'a t -> init:'b -> f:(key:key -> data:'a -> 'b -> 'b) -> 'b
val fold2 : 'a t -> 'b t -> init:'c -> f:(key:key -> data:[ `Both of 'a * 'b | `Left of 'a | `Right of 'b ] -> 'c -> 'c) -> 'c
val filter_keys : 'a t -> f:(key -> bool) -> 'a t
val filter : 'a t -> f:('a -> bool) -> 'a t
val filteri : 'a t -> f:(key:key -> data:'a -> bool) -> 'a t
val filter_map : 'a t -> f:('a -> 'b option) -> 'b t
val filter_mapi : 'a t -> f:(key:key -> data:'a -> 'b option) -> 'b t
val partition_mapi : 'a t -> f:(key:key -> data:'a -> [ `Fst of 'b | `Snd of 'c ]) -> 'b t * 'c t
val partition_map : 'a t -> f:('a -> [ `Fst of 'b | `Snd of 'c ]) -> 'b t * 'c t
val partitioni_tf : 'a t -> f:(key:key -> data:'a -> bool) -> 'a t * 'a t
val partition_tf : 'a t -> f:('a -> bool) -> 'a t * 'a t
val compare_direct : ('a -> 'a -> int) -> 'a t -> 'a t -> int
val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
val keys : 'a t -> key list
val data : 'a t -> 'a list
val to_alist : ?⁠key_order:[ `Decreasing | `Increasing ] -> 'a t -> (key * 'a) list
val validate : name:(key -> string) -> 'a Base.Validate.check -> 'a t Base.Validate.check
val merge : 'a t -> 'b t -> f:(key:key -> [ `Both of 'a * 'b | `Left of 'a | `Right of 'b ] -> 'c option) -> 'c t
val symmetric_diff : 'a t -> 'a t -> data_equal:('a -> 'a -> bool) -> (key'a) Base__.Map_intf.Symmetric_diff_element.t Base.Sequence.t
val fold_symmetric_diff : 'a t -> 'a t -> data_equal:('a -> 'a -> bool) -> init:'c -> f:('c -> (key'a) Base__.Map_intf.Symmetric_diff_element.t -> 'c) -> 'c
val min_elt : 'a t -> (key * 'a) option
val min_elt_exn : 'a t -> key * 'a
val max_elt : 'a t -> (key * 'a) option
val max_elt_exn : 'a t -> key * 'a
val for_all : 'a t -> f:('a -> bool) -> bool
val for_alli : 'a t -> f:(key:key -> data:'a -> bool) -> bool
val exists : 'a t -> f:('a -> bool) -> bool
val existsi : 'a t -> f:(key:key -> data:'a -> bool) -> bool
val count : 'a t -> f:('a -> bool) -> int
val counti : 'a t -> f:(key:key -> data:'a -> bool) -> int
val split : 'a t -> key -> 'a t * (key * 'a) option * 'a t
val append : lower_part:'a t -> upper_part:'a t -> [ `Ok of 'a t | `Overlapping_key_ranges ]
val subrange : 'a t -> lower_bound:key Base.Maybe_bound.t -> upper_bound:key Base.Maybe_bound.t -> 'a t
val fold_range_inclusive : 'a t -> min:key -> max:key -> init:'b -> f:(key:key -> data:'a -> 'b -> 'b) -> 'b
val range_to_alist : 'a t -> min:key -> max:key -> (key * 'a) list
val closest_key : 'a t -> [ `Greater_or_equal_to | `Greater_than | `Less_or_equal_to | `Less_than ] -> key -> (key * 'a) option
val nth : 'a t -> int -> (key * 'a) option
val nth_exn : 'a t -> int -> key * 'a
val rank : 'a t -> key -> int option
val to_tree : 'a t -> 'a tree
val to_sequence : ?⁠order:[ `Decreasing_key | `Increasing_key ] -> ?⁠keys_greater_or_equal_to:key -> ?⁠keys_less_or_equal_to:key -> 'a t -> (key * 'a) Base.Sequence.t
val binary_search_segmented : 'a t -> segment_of:(key:key -> data:'a -> [ `Left | `Right ]) -> [ `First_on_right | `Last_on_left ] -> (key * 'a) option
val key_set : _ t -> (keycomparator_witness) Base.Set.t
val quickcheck_observer : key Core_kernel.Quickcheck.Observer.t -> 'v Core_kernel.Quickcheck.Observer.t -> 'v t Core_kernel.Quickcheck.Observer.t
val quickcheck_shrinker : key Core_kernel.Quickcheck.Shrinker.t -> 'v Core_kernel.Quickcheck.Shrinker.t -> 'v t Core_kernel.Quickcheck.Shrinker.t
module Provide_of_sexp : functor (Key : sig ... end with type t := Key.t) -> sig ... end with type 'a t := 'a t
module Provide_bin_io : functor (Key : sig ... end with type t := Key.t) -> Core_kernel.Map_intf.Binable.S1 with type 'a t := 'a t
module Provide_hash : functor (Key : Core_kernel__.Import.Hasher.S with type t := Key.t) -> sig ... end with type 'a t := 'a t