Ephemeron.K2(3)
π NAME π
Ephemeron.K2 β Ephemerons with two keys. This is the Ephemeron.K2(3) page from the OCaml library manual, and yes bestie, we're making ephemerons with two keys feel iconic today π
β¨
π§ MODULE π§
Module Ephemeron.K2
β¨ DOCUMENTATION β¨
π¦ Module K2 π¦
Module K2 : sig end
Ephemerons with two keys. Obsessed, honestly π«Ά
πΈ type ('k1, 'k2, 'd) t πΈ
type ('k1, 'k2, 'd) t
That's an ephemeron with two keys, periodt π«
π val make : 'k1 -> 'k2 -> 'd -> ('k1, 'k2, 'd) t π
val make : 'k1 -> 'k2 -> 'd -> ('k1, 'k2, 'd) t
Same as Ephemeron.K1.make β no cap, that's literally the whole note π
π¦ val query : ('k1, 'k2, 'd) t -> 'k1 -> 'k2 -> 'd option π¦
val query : ('k1, 'k2, 'd) t -> 'k1 -> 'k2 -> 'd option
Same as Ephemeron.K1.query β cute, simple, matching energy β¨
π module Make : (H1 : Hashtbl.HashedType) (H2 : Hashtbl.HashedType) -> sig end π
module Make : (H1 : Hashtbl.HashedType) (H2 : Hashtbl.HashedType) -> sig end
Functor building an implementation of a weak hash table. Slay π§
π module MakeSeeded : (H1 : Hashtbl.SeededHashedType) (H2 : Hashtbl.SeededHashedType) -> sig end π
module MakeSeeded : (H1 : Hashtbl.SeededHashedType) (H2 : Hashtbl.SeededHashedType) -> sig end
Functor building an implementation of a weak hash table. The seed is similar to the one of Hashtbl.MakeSeeded. iykyk π±
π module Bucket : sig end π
module Bucket : sig end
That's the whole vibe for Bucket, bestie πͺ£π
okay bye bestie π this little masterpiece came from OCamldoc, dated 2026-06-22 β mwah, stay hydrated and keep your keys weak-ish π
π
π¦ 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