Module Std.Hashtbl

type (!'a, !'b) t = ('a, 'b) Stdlib.Hashtbl.t
val create : ?random:??? -> int -> ('a, 'b) t
val clear : ('a, 'b) t -> unit
val reset : ('a, 'b) t -> unit
val copy : ('a, 'b) t -> ('a, 'b) t
val find : ('a, 'b) t -> 'a -> 'b
val find_opt : ('a, 'b) t -> 'a -> 'b option
val mem : ('a, 'b) t -> 'a -> bool
val remove : ('a, 'b) t -> 'a -> unit
val find_and_remove : ('a, 'b) t -> 'a -> 'b option
val iter : f:(key:'a -> data:'b -> unit) -> ('a, 'b) t -> unit
val filter_map_inplace : f:(key:'a -> data:'b -> 'b option) -> ('a, 'b) t -> unit
val fold : f:(key:'a -> data:'b -> 'acc -> 'acc) -> ('a, 'b) t -> init:'acc -> 'acc
val length : ('a, 'b) t -> int
val randomize : unit -> unit
val is_randomized : unit -> bool
val rebuild : ?random:??? -> ('a, 'b) t -> ('a, 'b) t
type statistics = Stdlib.Hashtbl.statistics = {
  1. num_bindings : int;
  2. num_buckets : int;
  3. max_bucket_length : int;
  4. bucket_histogram : int array;
}
val stats : ('a, 'b) t -> statistics
val to_seq : ('a, 'b) t -> ('a * 'b) Stdlib.Seq.t
val to_seq_keys : ('a, 'b) t -> 'a Stdlib.Seq.t
val to_seq_values : ('a, 'b) t -> 'b Stdlib.Seq.t
val add_seq : ('a, 'b) t -> ('a * 'b) Stdlib.Seq.t -> unit
val replace_seq : ('a, 'b) t -> ('a * 'b) Stdlib.Seq.t -> unit
val of_seq : ('a * 'b) Stdlib.Seq.t -> ('a, 'b) t
module type HashedType = sig ... end
module type S = sig ... end
module Make : sig ... end
module type SeededHashedType = sig ... end
module type SeededS = sig ... end
module MakeSeeded : sig ... end
val hash : 'a -> int
val seeded_hash : int -> 'a -> int
val hash_param : int -> int -> 'a -> int
val seeded_hash_param : int -> int -> int -> 'a -> int
val add : ('a, 'b) t -> key:'a -> data:'b -> unit
val add_multi : key:'a -> data:'b -> ('a, 'b list) {Hashtbl}3/shadowed/(6c5f92584c554aeb37cb87dd9ba8eb07).t -> unit
val find_multi : ('a, 'b list) t -> 'a -> 'b list
val update : ('a, 'b) t -> 'a -> f:('b option -> 'b) -> unit

Annoying/hard to use APIs removed

val find_all : [> `Removed_unsavory_hashtable_apis ]
val find_and_replace : [> `Removed_unsavory_hashtable_apis ]
val replace : [> `Removed_unsavory_hashtable_apis ]