Stdlib.Ephemeron(3)
π Stdlib.Ephemeron(3) β OCaml library, bestie π
okay so welcome to the Stdlib.Ephemeron(3) page from the OCaml library β we're doing this, and we're doing it cute β¨
πΈ NAME πΈ
Stdlib.Ephemeron β no description. That's it. That's the whole description. The manpage said "no description" and honestly? Iconic minimalism ππ
π Module π
The module moment is exactly:
Module Stdlib.Ephemeron
β¨ Documentation β¨
The docs start with:
Module Ephemeron
: (module Stdlib__Ephemeron)
π Unsynchronized accesses π
Okay bestie, this is the caution part, so listen up π«Ά: unsynchronized accesses to a weak hash table may lead to an invalid weak hash table state. Thus, concurrent accesses to a weak hash table must be synchronized β for instance with a Mutex.t. No cap, that's the rule. π₯
π¦ module type S = sig end π¦
module type S = sig end
This is the output signature of the functors Ephemeron.K1.Make and Ephemeron.K2.Make.
These hash tables are weak in the keys. If all the keys of a binding are alive the binding is kept, but if one of the keys of the binding is dead then the binding is removed. periodt π
π module type SeededS = sig end π
module type SeededS = sig end
This one is the output signature of the functors Ephemeron.K1.MakeSeeded and Ephemeron.K2.MakeSeeded. seeded bestie behavior β¨
π§ module K1 : sig end π§
module K1 : sig end
Ephemerons with one key. solo-key main character energy π
π module K2 : sig end π
module K2 : sig end
Ephemerons with two keys. duo vibes, lowkey cute π«Ά
β module Kn : sig end β
module Kn : sig end
Ephemerons with arbitrary number of keys of the same type. not me loving the flexible icon behavior π
mwah π this page was brought to you by OCamldoc, dated 2026-06-22, and it's the Stdlib.Ephemeron(3) page β byeee π«Άπ
π¦ 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