Ephemeron.K2.MakeSeeded(3)
π NAME π
okay so bestie, this is the manual page for Ephemeron.K2.MakeSeeded(3) from the OCaml library β and it's literally a functor that builds an implementation of a weak hash table. no cap. π
β¨
π¦ Module π¦
The module is Ephemeron.K2.MakeSeeded, and the whole signature situation is giving:
Module MakeSeeded
: (H1 : Hashtbl.SeededHashedType) (H2 : Hashtbl.SeededHashedType) ->
sig end
β¨ Documentation β¨
Functor building an implementation of a weak hash table. The seed is similar to the one of Hashtbl.MakeSeeded. π«Ά
π Parameters π
"H1"βStdlib.Hashtbl.SeededHashedType"H2"βStdlib.Hashtbl.SeededHashedType
Here's every single declaration, bestie β all the types and vals, fully present, no details ghosted:
type keytype !'a tval 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 length : 'a t -> intval stats : 'a t -> Hashtbl.statisticsval 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 tval clean : 'a t -> unitβ remove all dead bindings. Done automatically during automatic resizing. π§Ήval stats_alive : 'a t -> Hashtbl.statisticsβ same asHashtbl.SeededS.statsbut only count the alive bindings. π
Catch you later, bestie β this cutie was served up by OCamldoc on 2026-06-22. π β¨π«Ά
π¦ where this page comes from
- arch rolling: ocaml 5.5.0-1 Β· LGPL2.1 AND custom: QPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms