moonpool/dev/ocaml/Persistent_env/Persistent_signature/index.html
2023-08-28 17:11:38 +00:00

2 lines
No EOL
2.1 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>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> &#x00BB; <a href="../index.html">Persistent_env</a> &#x00BB; 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">&#45;&gt;</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>