Ephemeron.K2(3) OCaml library Ephemeron.K2(3)

# [NAME](#NAME)

Ephemeron.K2 - Ephemerons with two keys.

# [Module](#Module)

Module Ephemeron.K2

# [Documentation](#Documentation)

Module **K2**  
: **sig end**

Ephemerons with two keys.

*type* **('k1, 'k2, 'd)** *t*

an ephemeron with two keys

*val make* : **'k1 -&gt; 'k2 -&gt; 'd -&gt; ('k1, 'k2, 'd) t**

Same as **Ephemeron.K1.make**

*val query* : **('k1, 'k2, 'd) t -&gt; 'k1 -&gt; 'k2 -&gt; 'd option**

Same as **Ephemeron.K1.query**

*module Make :* **(H1 : Hashtbl.HashedType) (H2 : Hashtbl.HashedType) -&gt; sig end**

Functor building an implementation of a weak hash table

*module MakeSeeded :* **(H1 : Hashtbl.SeededHashedType) (H2 : Hashtbl.SeededHashedType) -&gt; 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**

2026-09-04 OCamldoc

---

Document: Ephemeron.K2(3o) from ocaml 5.5.1-r0 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
