mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-17 16:16:48 -05:00
2 lines
No EOL
2.1 KiB
HTML
2 lines
No EOL
2.1 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Persistent_signature (ocaml.Persistent_env.Persistent_signature)</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> » <a href="../index.html">Persistent_env</a> » Persistent_signature</nav><header class="odoc-preamble"><h1>Module <code><span>Persistent_env.Persistent_signature</span></code></h1></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> t</span><span> = </span><span>{</span></code><ol><li id="type-t.filename" class="def record field anchored"><a href="#type-t.filename" class="anchor"></a><code><span>filename : string;</span></code><div class="def-doc"><span class="comment-delim">(*</span><p>Name of the file containing the signature.</p><span class="comment-delim">*)</span></div></li><li id="type-t.cmi" class="def record field anchored"><a href="#type-t.cmi" class="anchor"></a><code><span>cmi : <a href="../../Cmi_format/index.html#type-cmi_infos">Cmi_format.cmi_infos</a>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-load"><a href="#val-load" class="anchor"></a><code><span><span class="keyword">val</span> load : <span><span>(<span>unit_name:string <span class="arrow">-></span></span> <span><a href="#type-t">t</a> option</span>)</span> <a href="../../Stdlib/index.html#type-ref">ref</a></span></span></code></div><div class="spec-doc"><p>Function used to load a persistent signature. The default is to look for the .cmi file in the load path. This function can be overridden to load it from memory, for instance to build a self-contained toplevel.</p></div></div></div></body></html> |