<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IStdlib__RecencyMap (infer.IStdlib__RecencyMap)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» IStdlib__RecencyMap</nav><h1>Module <code>IStdlib__RecencyMap</code></h1></header><divclass="spec module"id="module-F"><ahref="#module-F"class="anchor"></a><code><spanclass="keyword">module</span> F = Stdlib.Format</code></div><divclass="spec module-type"id="module-type-Config"><ahref="#module-type-Config"class="anchor"></a><code><spanclass="keyword">module</span><spanclass="keyword">type</span><ahref="module-type-Config/index.html">Config</a> = <spanclass="keyword">sig</span> ... <spanclass="keyword">end</span></code></div><dl><dtclass="spec module-type"id="module-type-S"><ahref="#module-type-S"class="anchor"></a><code><spanclass="keyword">module</span><spanclass="keyword">type</span><ahref="module-type-S/index.html">S</a> = <spanclass="keyword">sig</span> ... <spanclass="keyword">end</span></code></dt><dd><p>A functional map interface where only the <code>N</code> most recently-accessed elements are guaranteed to be persisted, similarly to an LRU cache. The map stores at most <code>2*N</code> elements.</p></dd></dl><divclass="spec module"id="module-Make"><ahref="#module-Make"class="anchor"></a><code><spanclass="keyword">module</span><ahref="Make/index.html">Make</a> : <spanclass="keyword">functor</span> (<ahref="Make/argument-1-Key/index.html">Key</a> : <ahref="../IStdlib/PrettyPrintable/index.html#module-type-PrintableEquatableOrderedType">IStdlib.PrettyPrintable.PrintableEquatableOrderedType</a>) <span>-></span><spanclass="keyword">functor</span> (<ahref="Make/argument-2-Value/index.html">Value</a> : <ahref="../IStdlib/PrettyPrintable/index.html#module-type-PrintableOrderedType">IStdlib.PrettyPrintable.PrintableOrderedType</a>) <span>-></span><spanclass="keyword">functor</span> (<ahref="Make/argument-3-Config/index.html">Config</a> : <ahref="index.html#module-type-Config">Config</a>) <span>-></span><ahref="index.html#module-type-S">S</a><spanclass="keyword">with</span><spanclass="keyword">type</span><ahref="Make/index.html#type-key">key</a> = <ahref="Make/index.html#argument-1-Key">Key</a>.t <spanclass="keyword">and</span><spanclass="keyword">type</span><ahref="Make/index.html#type-value">value</a> = <ahref="Make/index.html#argument-2-Value">Value</a>.t</code></div></div></body></html>