Ephemeron.Kn(3)

🌸 NAME 🌸

Okay bestie, this is the scoop on Ephemeron.Kn(3) from the OCaml library πŸ’…βœ¨ It's all about ephemerons with arbitrary number of keys of the same type β€” like, all the keys are the same type, and you can have however many keys. No cap.

🧩 Module 🧩

The module is Module Ephemeron.Kn 🫢

πŸ’– Documentation πŸ’–

Module Kn
 : sig end

Yup, that's the module signature, short and iconic.

It's still the whole "ephemerons with arbitrary number of keys of the same type" situation πŸ’œ

  • type ('k, 'd) t β€” an ephemeron with an arbitrary number of keys of the same type. Main character type fr.
  • val make : 'k array -> 'd -> ('k, 'd) t β€” same as Ephemeron.K1.make ✨
  • val query : ('k, 'd) t -> 'k array -> 'd option β€” same as Ephemeron.K1.query πŸ”
  • module Make : (H : Hashtbl.HashedType) -> sig end β€” functor building an implementation of a weak hash table 🧚
  • 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 🌱
  • module Bucket : sig end β€” yep, that's the module, bestie πŸͺ£

This page was served fresh by OCamldoc on 2026-06-22 β€” slay, bye πŸ’‹πŸŽ€

πŸ“¦ where this page comes from