Module Prelude.Hashtbl
include module type of struct include Stdlib.Hashtbl end
val create : ?random:bool -> int -> ('a, 'b) tval clear : ('a, 'b) t -> unitval reset : ('a, 'b) t -> unitval add : ('a, 'b) t -> 'a -> 'b -> unitval find : ('a, 'b) t -> 'a -> 'bval find_opt : ('a, 'b) t -> 'a -> 'b optionval find_all : ('a, 'b) t -> 'a -> 'b listval mem : ('a, 'b) t -> 'a -> boolval remove : ('a, 'b) t -> 'a -> unitval replace : ('a, 'b) t -> 'a -> 'b -> unitval iter : ('a -> 'b -> unit) -> ('a, 'b) t -> unitval filter_map_inplace : ('a -> 'b -> 'b option) -> ('a, 'b) t -> unitval fold : ('a -> 'b -> 'acc -> 'acc) -> ('a, 'b) t -> 'acc -> 'accval length : ('a, 'b) t -> intval stats : ('a, 'b) t -> statisticsval to_seq : ('a, 'b) t -> ('a * 'b) Stdlib.Seq.tval to_seq_keys : ('a, 'b) t -> 'a Stdlib.Seq.tval to_seq_values : ('a, 'b) t -> 'b Stdlib.Seq.tval add_seq : ('a, 'b) t -> ('a * 'b) Stdlib.Seq.t -> unitval replace_seq : ('a, 'b) t -> ('a * 'b) Stdlib.Seq.t -> unitval of_seq : ('a * 'b) Stdlib.Seq.t -> ('a, 'b) tmodule type HashedType = Utils.Prelude.Hashtbl.HashedTypemodule type S = Utils.Prelude.Hashtbl.Smodule Make = Utils.Prelude.Hashtbl.Makemodule type SeededHashedType = Utils.Prelude.Hashtbl.SeededHashedTypemodule type SeededS = Utils.Prelude.Hashtbl.SeededSmodule MakeSeeded = Utils.Prelude.Hashtbl.MakeSeededval singleton : 'a -> 'b -> ('a, 'b) tval find_or_else_add : ('a, 'b) t -> 'a -> (unit -> 'b) -> 'bAnalog to List.find_map
val remove_all : ('a, 'b) t -> 'a -> unitval of_yojson :
(Yojson.Safe.t -> ('a, string) Stdlib.result) ->
(Yojson.Safe.t -> ('b, string) Stdlib.result) ->
Yojson.Safe.t ->
(('a, 'b) t, string) Stdlib.resultval to_yojson :
('a -> Yojson.Safe.t) ->
('b -> Yojson.Safe.t) ->
('a, 'b) t ->
Yojson.Safe.t