moonpool/dev/ocaml/Stdlib/Ephemeron/Kn/index.html
2023-08-29 18:39:53 +00:00

4 lines
No EOL
4.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Kn (ocaml.Stdlib.Ephemeron.Kn)</title><link rel="stylesheet" href="../../../../_odoc-theme/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">ocaml</a> &#x00BB; <a href="../../index.html">Stdlib</a> &#x00BB; <a href="../index.html">Ephemeron</a> &#x00BB; Kn</nav><header class="odoc-preamble"><h1>Module <code><span>Ephemeron.Kn</span></code></h1><p>Ephemerons with arbitrary number of keys of the same type.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> <span>('k, 'd) t</span></span></code></div><div class="spec-doc"><p>an ephemeron with an arbitrary number of keys of the same type</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-make"><a href="#val-make" class="anchor"></a><code><span><span class="keyword">val</span> make : <span><span><span class="type-var">'k</span> array</span> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'d</span> <span class="arrow">&#45;&gt;</span></span> <span><span>(<span class="type-var">'k</span>, <span class="type-var">'d</span>)</span> <a href="#type-t">t</a></span></span></code></div><div class="spec-doc"><p>Same as <a href="../K1/index.html#val-make"><code>Ephemeron.K1.make</code></a></p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-query"><a href="#val-query" class="anchor"></a><code><span><span class="keyword">val</span> query : <span><span><span>(<span class="type-var">'k</span>, <span class="type-var">'d</span>)</span> <a href="#type-t">t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span><span class="type-var">'k</span> array</span> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'d</span> option</span></span></code></div><div class="spec-doc"><p>Same as <a href="../K1/index.html#val-query"><code>Ephemeron.K1.query</code></a></p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Make"><a href="#module-Make" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Make/index.html">Make</a></span><span> (<a href="Make/argument-1-H/index.html">H</a> : <a href="../../Hashtbl/module-type-HashedType/index.html">Hashtbl.HashedType</a>) : <a href="../module-type-S/index.html">S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../module-type-S/index.html#type-key">key</a> = <span><a href="Make/argument-1-H/index.html#type-t">H.t</a> array</span></span></span></code></div><div class="spec-doc"><p>Functor building an implementation of a weak hash table</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-MakeSeeded"><a href="#module-MakeSeeded" class="anchor"></a><code><span><span class="keyword">module</span> <a href="MakeSeeded/index.html">MakeSeeded</a></span><span>
(<a href="MakeSeeded/argument-1-H/index.html">H</a> : <a href="../../Hashtbl/module-type-SeededHashedType/index.html">Hashtbl.SeededHashedType</a>) :
<a href="../module-type-SeededS/index.html">SeededS</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../module-type-SeededS/index.html#type-key">key</a> = <span><a href="MakeSeeded/argument-1-H/index.html#type-t">H.t</a> array</span></span></span></code></div><div class="spec-doc"><p>Functor building an implementation of a weak hash table. The seed is similar to the one of <a href="../../Hashtbl/MakeSeeded/index.html"><code>Hashtbl.MakeSeeded</code></a>.</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Bucket"><a href="#module-Bucket" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Bucket/index.html">Bucket</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div></div></body></html>