Ephemeron.K1.MakeSeeded(3)
π NAME π
okay so this is the OCaml library manual page for Ephemeron.K1.MakeSeeded(3) β yes, title and manual name folded right in here, bestie π. The official NAME line is giving:
Ephemeron.K1.MakeSeededβ Functor building an implementation of a weak hash table.
π§ MODULE π§
The module is Ephemeron.K1.MakeSeeded, and that's the whole module section, periodt π«Ά.
π DOCUMENTATION π
Here's the functor signature, exactly as it appears, because we are not about to mess with your types:
Module MakeSeeded
: (H : Hashtbl.SeededHashedType) -> sig end
This functor builds an implementation of a weak hash table β iconic behavior β¨. The seed is similar to the one of Hashtbl.MakeSeeded π±.
π Parameters π
Hβ its type isStdlib.Hashtbl.SeededHashedTypeπ .
Then the types, with zero edits:
type keyβ the key type, no cap π.type !'a tβ the table type,!'aand all, exactly like that π.
And now the values, in the original order, every signature preserved:
val create : ?random:bool -> int -> 'a tβ this is the create signature,?random:boolincluded π.val clear : 'a t -> unitβ clear signature, exact β¨.val reset : 'a t -> unitβ reset signature, exact π.val copy : 'a t -> 'a tβ copy signature, exact π¦.val add : 'a t -> key -> 'a -> unitβ add signature, exact πΈ.val remove : 'a t -> key -> unitβ remove signature, exact π .val find : 'a t -> key -> 'aβ find signature, exact π«Ά.val find_opt : 'a t -> key -> 'a optionβ find_opt signature, exact π.val find_all : 'a t -> key -> 'a listβ find_all signature, exact π₯.val replace : 'a t -> key -> 'a -> unitβ replace signature, exact π.val mem : 'a t -> key -> boolβ mem signature, exact π.val length : 'a t -> intβ length signature, exact β.val stats : 'a t -> Hashtbl.statisticsβ stats signature, exact π.val add_seq : 'a t -> (key * 'a) Seq.t -> unitβ add_seq signature, exact π.val replace_seq : 'a t -> (key * 'a) Seq.t -> unitβ replace_seq signature, exact π.val of_seq : (key * 'a) Seq.t -> 'a tβ of_seq signature, exact π§.val 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. π
source/version: OCamldoc Β· date: 2026-06-22 Β· page: Ephemeron.K1.MakeSeeded(3) β cute sign-off time, bestie: bye, stay seeded π
β¨.
π¦ 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