---
name: "Ephemeron.K2"
section: "3o"
platform: "linux"
package: "ocaml"
version: "5.5.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Ephemeron.K2"
---

# Ephemeron.K2(3o)

Ephemerons with two keys.

## NAME

Ephemeron.K2 - Ephemerons with two keys.

## Module

Module   Ephemeron.K2

## Documentation

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

Ephemerons with two keys.

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

an ephemeron with two keys

*val make* :  **'k1 -\> 'k2 -\> 'd -\> ('k1, 'k2, 'd) t**

Same as  **Ephemeron.K1.make**

*val query* :  **('k1, 'k2, 'd) t -\> 'k1 -\> 'k2 -\> 'd option**

Same as  **Ephemeron.K1.query**

*module Make :* **(H1 : Hashtbl.HashedType) (H2 : Hashtbl.HashedType) -\> sig end**

Functor building an implementation of a weak hash table

*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** .

*module Bucket :* **sig end**
