Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

Ephemeron.K1.3o - Man Page

Ephemerons with one key.

Module

Module Ā  Ephemeron.K1

Documentation

Module K1
: sig end

Ephemerons with one key.

type ('k, 'd) t

an ephemeron with one key

val make : 'k -> 'd -> ('k, 'd) t

Ephemeron.K1.make k d creates an ephemeron with key k and data d .

val query : ('k, 'd) t -> 'k -> 'd option

Ephemeron.K1.query eph key returns Some x (where x is the ephemeron's data) if key is physically equal to eph 's key, and None if eph is empty or key is not equal to eph 's key.

module Make : functor (H : Hashtbl.HashedType) -> sig end

Functor building an implementation of a weak hash table

module MakeSeeded : functor (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

Info

2024-06-19 OCamldoc OCaml library