Module Context_hash.Table
include Mavryk_error_monad.TzLwtreslib.Hashtbl.SeededS with type key = t
val create : ?random:bool -> int -> 'a tval add : 'a t -> key -> 'a -> unitval remove : 'a t -> key -> unitval find : 'a t -> key -> 'a optionval find_opt : 'a t -> key -> 'a optionval find_all : 'a t -> key -> 'a listval replace : 'a t -> key -> 'a -> unitval mem : 'a t -> key -> boolval iter : (key -> 'a -> unit) -> 'a t -> unitval iter_s : (key -> 'a -> unit Lwt.t) -> 'a t -> unit Lwt.tval iter_p : (key -> 'a -> unit Lwt.t) -> 'a t -> unit Lwt.tval iter_e :
(key -> 'a -> (unit, 'trace) Stdlib.result) ->
'a t ->
(unit, 'trace) Stdlib.resultval iter_es :
(key -> 'a -> (unit, 'trace) Stdlib.result Lwt.t) ->
'a t ->
(unit, 'trace) Stdlib.result Lwt.tval filter_map_inplace : (key -> 'a -> 'a option) -> 'a t -> unitval try_map_inplace : (key -> 'a -> ('a, 'trace) Stdlib.result) -> 'a t -> unitval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'bval fold_s : (key -> 'a -> 'b -> 'b Lwt.t) -> 'a t -> 'b -> 'b Lwt.tval fold_e :
(key -> 'a -> 'b -> ('b, 'trace) Stdlib.result) ->
'a t ->
'b ->
('b, 'trace) Stdlib.resultval fold_es :
(key -> 'a -> 'b -> ('b, 'trace) Stdlib.result Lwt.t) ->
'a t ->
'b ->
('b, 'trace) Stdlib.result Lwt.tval stats : 'a t -> Stdlib.Hashtbl.statisticsval to_seq : 'a t -> (key * 'a) Stdlib.Seq.tval to_seq_keys : 'a t -> key Stdlib.Seq.tval to_seq_values : 'a t -> 'a Stdlib.Seq.tval add_seq : 'a t -> (key * 'a) Stdlib.Seq.t -> unitval replace_seq : 'a t -> (key * 'a) Stdlib.Seq.t -> unitval of_seq : (key * 'a) Stdlib.Seq.t -> 'a tval encoding : 'a Data_encoding.t -> 'a t Data_encoding.t