Ephemeron.K1(3)
π NAME π
Ephemeron.K1 β Ephemerons with one key.
okay bestie, welcome to the Ephemeron.K1(3) page from the OCaml library manual β¨ this one is literally all about ephemerons with exactly one key, and it's giving βsmall but mightyβ π
π§ Module π§
Module Ephemeron.K1 β yes, that's the module, and we're already in it, main character energy π
π Documentation π
Module K1
: sig end
Ephemerons with one key. one key, one data, no cap π«Ά
type ('k, 'd) t
an ephemeron with one key β that's the type, bestie, and it's carrying the whole βone keyβ concept π
val make : 'k -> 'd -> ('k, 'd) t
Ephemeron.K1.make k d creates an ephemeron with key k and data d . slay, you hand it a key and some data and it makes the ephemeron π
val query : ('k, 'd) t -> 'k -> 'd option
Ephemeron.K1.query eph key returns Some x (where x is the ephemeron's data) if key is physically equal to eph's key, and None if eph is empty or key is not equal to eph's key. physical equality is the vibe check here π
module Make : (H : Hashtbl.HashedType) -> sig end
Functor building an implementation of a weak hash table. weak hash table implementation builder, iconic β¨
module MakeSeeded : (H : Hashtbl.SeededHashedType) -> sig end
Functor building an implementation of a weak hash table. The seed is similar to the one of Hashtbl.MakeSeeded . seeded version, iykyk π±
module Bucket : sig end
bucket module, that's the whole entry, periodt πͺ£
okay that's the page, bestie π«Ά this was Ephemeron.K1(3) from the OCaml library manual, source OCamldoc, dated 2026-06-22 β bye π
π¦ 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