Module type Ephemeron.SeededS
The output signature of the functor K1.MakeSeeded and K2.MakeSeeded.
include Stdlib.Hashtbl.SeededS
val create : ?random:bool -> int -> 'a tval clear : 'a t -> unitval reset : 'a t -> unitval copy : 'a t -> 'a tval add : 'a t -> key -> 'a -> unitval remove : 'a t -> key -> unitval find : 'a t -> key -> 'aval 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 filter_map_inplace : (key -> 'a -> 'a option) -> 'a t -> unitval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'bval length : 'a t -> intval stats : 'a t -> Stdlib.Hashtbl.statisticsval to_seq : 'a t -> (key * 'a) Seq.tval to_seq_keys : 'a t -> key Seq.tval to_seq_values : 'a t -> 'a Seq.tval add_seq : 'a t -> (key * 'a) Seq.t -> unitval replace_seq : 'a t -> (key * 'a) Seq.t -> unitval of_seq : (key * 'a) Seq.t -> 'a t
val clean : 'a t -> unitremove all dead bindings. Done automatically during automatic resizing.
val stats_alive : 'a t -> Stdlib.Hashtbl.statisticssame as
Hashtbl.SeededS.stats but only count the alive bindings