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