mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-16 23:56:49 -05:00
13 lines
No EOL
21 KiB
HTML
13 lines
No EOL
21 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Error (ocaml.Includemod.Error)</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">Includemod</a> » Error</nav><header class="odoc-preamble"><h1>Module <code><span>Includemod.Error</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-diff"><a href="#type-diff" class="anchor"></a><code><span><span class="keyword">type</span> <span>('elt, 'explanation) diff</span></span><span> = </span><span>{</span></code><ol><li id="type-diff.got" class="def record field anchored"><a href="#type-diff.got" class="anchor"></a><code><span>got : <span class="type-var">'elt</span>;</span></code></li><li id="type-diff.expected" class="def record field anchored"><a href="#type-diff.expected" class="anchor"></a><code><span>expected : <span class="type-var">'elt</span>;</span></code></li><li id="type-diff.symptom" class="def record field anchored"><a href="#type-diff.symptom" class="anchor"></a><code><span>symptom : <span class="type-var">'explanation</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-core_diff"><a href="#type-core_diff" class="anchor"></a><code><span><span class="keyword">type</span> <span>'elt core_diff</span></span><span> = <span><span>(<span class="type-var">'elt</span>, unit)</span> <a href="#type-diff">diff</a></span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-functor_arg_descr"><a href="#type-functor_arg_descr" class="anchor"></a><code><span><span class="keyword">type</span> functor_arg_descr</span><span> = </span></code><ol><li id="type-functor_arg_descr.Anonymous" class="def variant constructor anchored"><a href="#type-functor_arg_descr.Anonymous" class="anchor"></a><code><span>| </span><span><span class="constructor">Anonymous</span></span></code></li><li id="type-functor_arg_descr.Named" class="def variant constructor anchored"><a href="#type-functor_arg_descr.Named" class="anchor"></a><code><span>| </span><span><span class="constructor">Named</span> <span class="keyword">of</span> <a href="../../Path/index.html#type-t">Path.t</a></span></code></li><li id="type-functor_arg_descr.Unit" class="def variant constructor anchored"><a href="#type-functor_arg_descr.Unit" class="anchor"></a><code><span>| </span><span><span class="constructor">Unit</span></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-core_sigitem_symptom"><a href="#type-core_sigitem_symptom" class="anchor"></a><code><span><span class="keyword">type</span> core_sigitem_symptom</span><span> = </span></code><ol><li id="type-core_sigitem_symptom.Value_descriptions" class="def variant constructor anchored"><a href="#type-core_sigitem_symptom.Value_descriptions" class="anchor"></a><code><span>| </span><span><span class="constructor">Value_descriptions</span> <span class="keyword">of</span> <span><span>(<a href="../../Types/index.html#type-value_description">Types.value_description</a>, <a href="../../Includecore/index.html#type-value_mismatch">Includecore.value_mismatch</a>)</span>
|
||
<a href="#type-diff">diff</a></span></span></code></li><li id="type-core_sigitem_symptom.Type_declarations" class="def variant constructor anchored"><a href="#type-core_sigitem_symptom.Type_declarations" class="anchor"></a><code><span>| </span><span><span class="constructor">Type_declarations</span> <span class="keyword">of</span> <span><span>(<a href="../../Types/index.html#type-type_declaration">Types.type_declaration</a>, <a href="../../Includecore/index.html#type-type_mismatch">Includecore.type_mismatch</a>)</span> <a href="#type-diff">diff</a></span></span></code></li><li id="type-core_sigitem_symptom.Extension_constructors" class="def variant constructor anchored"><a href="#type-core_sigitem_symptom.Extension_constructors" class="anchor"></a><code><span>| </span><span><span class="constructor">Extension_constructors</span> <span class="keyword">of</span> <span><span>(<a href="../../Types/index.html#type-extension_constructor">Types.extension_constructor</a>,
|
||
<a href="../../Includecore/index.html#type-extension_constructor_mismatch">Includecore.extension_constructor_mismatch</a>)</span>
|
||
<a href="#type-diff">diff</a></span></span></code></li><li id="type-core_sigitem_symptom.Class_type_declarations" class="def variant constructor anchored"><a href="#type-core_sigitem_symptom.Class_type_declarations" class="anchor"></a><code><span>| </span><span><span class="constructor">Class_type_declarations</span> <span class="keyword">of</span> <span><span>(<a href="../../Types/index.html#type-class_type_declaration">Types.class_type_declaration</a>,
|
||
<span><a href="../../Ctype/index.html#type-class_match_failure">Ctype.class_match_failure</a> list</span>)</span>
|
||
<a href="#type-diff">diff</a></span></span></code></li><li id="type-core_sigitem_symptom.Class_declarations" class="def variant constructor anchored"><a href="#type-core_sigitem_symptom.Class_declarations" class="anchor"></a><code><span>| </span><span><span class="constructor">Class_declarations</span> <span class="keyword">of</span> <span><span>(<a href="../../Types/index.html#type-class_declaration">Types.class_declaration</a>, <span><a href="../../Ctype/index.html#type-class_match_failure">Ctype.class_match_failure</a> list</span>)</span>
|
||
<a href="#type-diff">diff</a></span></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-core_module_type_symptom"><a href="#type-core_module_type_symptom" class="anchor"></a><code><span><span class="keyword">type</span> core_module_type_symptom</span><span> = </span></code><ol><li id="type-core_module_type_symptom.Not_an_alias" class="def variant constructor anchored"><a href="#type-core_module_type_symptom.Not_an_alias" class="anchor"></a><code><span>| </span><span><span class="constructor">Not_an_alias</span></span></code></li><li id="type-core_module_type_symptom.Not_an_identifier" class="def variant constructor anchored"><a href="#type-core_module_type_symptom.Not_an_identifier" class="anchor"></a><code><span>| </span><span><span class="constructor">Not_an_identifier</span></span></code></li><li id="type-core_module_type_symptom.Incompatible_aliases" class="def variant constructor anchored"><a href="#type-core_module_type_symptom.Incompatible_aliases" class="anchor"></a><code><span>| </span><span><span class="constructor">Incompatible_aliases</span></span></code></li><li id="type-core_module_type_symptom.Abstract_module_type" class="def variant constructor anchored"><a href="#type-core_module_type_symptom.Abstract_module_type" class="anchor"></a><code><span>| </span><span><span class="constructor">Abstract_module_type</span></span></code></li><li id="type-core_module_type_symptom.Unbound_module_path" class="def variant constructor anchored"><a href="#type-core_module_type_symptom.Unbound_module_path" class="anchor"></a><code><span>| </span><span><span class="constructor">Unbound_module_path</span> <span class="keyword">of</span> <a href="../../Path/index.html#type-t">Path.t</a></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-module_type_symptom"><a href="#type-module_type_symptom" class="anchor"></a><code><span><span class="keyword">type</span> module_type_symptom</span><span> = </span></code><ol><li id="type-module_type_symptom.Mt_core" class="def variant constructor anchored"><a href="#type-module_type_symptom.Mt_core" class="anchor"></a><code><span>| </span><span><span class="constructor">Mt_core</span> <span class="keyword">of</span> <a href="#type-core_module_type_symptom">core_module_type_symptom</a></span></code></li><li id="type-module_type_symptom.Signature" class="def variant constructor anchored"><a href="#type-module_type_symptom.Signature" class="anchor"></a><code><span>| </span><span><span class="constructor">Signature</span> <span class="keyword">of</span> <a href="#type-signature_symptom">signature_symptom</a></span></code></li><li id="type-module_type_symptom.Functor" class="def variant constructor anchored"><a href="#type-module_type_symptom.Functor" class="anchor"></a><code><span>| </span><span><span class="constructor">Functor</span> <span class="keyword">of</span> <a href="#type-functor_symptom">functor_symptom</a></span></code></li><li id="type-module_type_symptom.Invalid_module_alias" class="def variant constructor anchored"><a href="#type-module_type_symptom.Invalid_module_alias" class="anchor"></a><code><span>| </span><span><span class="constructor">Invalid_module_alias</span> <span class="keyword">of</span> <a href="../../Path/index.html#type-t">Path.t</a></span></code></li><li id="type-module_type_symptom.After_alias_expansion" class="def variant constructor anchored"><a href="#type-module_type_symptom.After_alias_expansion" class="anchor"></a><code><span>| </span><span><span class="constructor">After_alias_expansion</span> <span class="keyword">of</span> <a href="#type-module_type_diff">module_type_diff</a></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-module_type_diff"><a href="#type-module_type_diff" class="anchor"></a><code><span><span class="keyword">and</span> module_type_diff</span><span> = <span><span>(<a href="../../Types/index.html#type-module_type">Types.module_type</a>, <a href="#type-module_type_symptom">module_type_symptom</a>)</span> <a href="#type-diff">diff</a></span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-functor_symptom"><a href="#type-functor_symptom" class="anchor"></a><code><span><span class="keyword">and</span> functor_symptom</span><span> = </span></code><ol><li id="type-functor_symptom.Params" class="def variant constructor anchored"><a href="#type-functor_symptom.Params" class="anchor"></a><code><span>| </span><span><span class="constructor">Params</span> <span class="keyword">of</span> <a href="#type-functor_params_diff">functor_params_diff</a></span></code></li><li id="type-functor_symptom.Result" class="def variant constructor anchored"><a href="#type-functor_symptom.Result" class="anchor"></a><code><span>| </span><span><span class="constructor">Result</span> <span class="keyword">of</span> <a href="#type-module_type_diff">module_type_diff</a></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-functor_param_symptom"><a href="#type-functor_param_symptom" class="anchor"></a><code><span><span class="keyword">and</span> <span>('arg, 'path) functor_param_symptom</span></span><span> = </span></code><ol><li id="type-functor_param_symptom.Incompatible_params" class="def variant constructor anchored"><a href="#type-functor_param_symptom.Incompatible_params" class="anchor"></a><code><span>| </span><span><span class="constructor">Incompatible_params</span> <span class="keyword">of</span> <span class="type-var">'arg</span> * <a href="../../Types/index.html#type-functor_parameter">Types.functor_parameter</a></span></code></li><li id="type-functor_param_symptom.Mismatch" class="def variant constructor anchored"><a href="#type-functor_param_symptom.Mismatch" class="anchor"></a><code><span>| </span><span><span class="constructor">Mismatch</span> <span class="keyword">of</span> <a href="#type-module_type_diff">module_type_diff</a></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-arg_functor_param_symptom"><a href="#type-arg_functor_param_symptom" class="anchor"></a><code><span><span class="keyword">and</span> arg_functor_param_symptom</span><span> =
|
||
<span><span>(<a href="../../Types/index.html#type-functor_parameter">Types.functor_parameter</a>, <a href="../../Ident/index.html#type-t">Ident.t</a>)</span> <a href="#type-functor_param_symptom">functor_param_symptom</a></span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-functor_params_diff"><a href="#type-functor_params_diff" class="anchor"></a><code><span><span class="keyword">and</span> functor_params_diff</span><span> =
|
||
<span><span>(<span><a href="../../Types/index.html#type-functor_parameter">Types.functor_parameter</a> list</span> * <a href="../../Types/index.html#type-module_type">Types.module_type</a>)</span> <a href="#type-core_diff">core_diff</a></span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-signature_symptom"><a href="#type-signature_symptom" class="anchor"></a><code><span><span class="keyword">and</span> signature_symptom</span><span> = </span><span>{</span></code><ol><li id="type-signature_symptom.env" class="def record field anchored"><a href="#type-signature_symptom.env" class="anchor"></a><code><span>env : <a href="../../Env/index.html#type-t">Env.t</a>;</span></code></li><li id="type-signature_symptom.missings" class="def record field anchored"><a href="#type-signature_symptom.missings" class="anchor"></a><code><span>missings : <span><a href="../../Types/index.html#type-signature_item">Types.signature_item</a> list</span>;</span></code></li><li id="type-signature_symptom.incompatibles" class="def record field anchored"><a href="#type-signature_symptom.incompatibles" class="anchor"></a><code><span>incompatibles : <span><span>(<a href="../../Ident/index.html#type-t">Ident.t</a> * <a href="#type-sigitem_symptom">sigitem_symptom</a>)</span> list</span>;</span></code></li><li id="type-signature_symptom.oks" class="def record field anchored"><a href="#type-signature_symptom.oks" class="anchor"></a><code><span>oks : <span><span>(int * <a href="../../Typedtree/index.html#type-module_coercion">Typedtree.module_coercion</a>)</span> list</span>;</span></code></li><li id="type-signature_symptom.leftovers" class="def record field anchored"><a href="#type-signature_symptom.leftovers" class="anchor"></a><code><span>leftovers : <span><span>(<a href="../../Types/index.html#type-signature_item">Types.signature_item</a> <span class="keyword">as</span> 'it * <span class="type-var">'it</span> * int)</span> list</span>;</span></code><div class="def-doc"><span class="comment-delim">(*</span><p>signature items that could not be compared due to type divergence</p><span class="comment-delim">*)</span></div></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-sigitem_symptom"><a href="#type-sigitem_symptom" class="anchor"></a><code><span><span class="keyword">and</span> sigitem_symptom</span><span> = </span></code><ol><li id="type-sigitem_symptom.Core" class="def variant constructor anchored"><a href="#type-sigitem_symptom.Core" class="anchor"></a><code><span>| </span><span><span class="constructor">Core</span> <span class="keyword">of</span> <a href="#type-core_sigitem_symptom">core_sigitem_symptom</a></span></code></li><li id="type-sigitem_symptom.Module_type_declaration" class="def variant constructor anchored"><a href="#type-sigitem_symptom.Module_type_declaration" class="anchor"></a><code><span>| </span><span><span class="constructor">Module_type_declaration</span> <span class="keyword">of</span> <span><span>(<a href="../../Types/index.html#type-modtype_declaration">Types.modtype_declaration</a>,
|
||
<a href="#type-module_type_declaration_symptom">module_type_declaration_symptom</a>)</span>
|
||
<a href="#type-diff">diff</a></span></span></code></li><li id="type-sigitem_symptom.Module_type" class="def variant constructor anchored"><a href="#type-sigitem_symptom.Module_type" class="anchor"></a><code><span>| </span><span><span class="constructor">Module_type</span> <span class="keyword">of</span> <a href="#type-module_type_diff">module_type_diff</a></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-module_type_declaration_symptom"><a href="#type-module_type_declaration_symptom" class="anchor"></a><code><span><span class="keyword">and</span> module_type_declaration_symptom</span><span> = </span></code><ol><li id="type-module_type_declaration_symptom.Illegal_permutation" class="def variant constructor anchored"><a href="#type-module_type_declaration_symptom.Illegal_permutation" class="anchor"></a><code><span>| </span><span><span class="constructor">Illegal_permutation</span> <span class="keyword">of</span> <a href="../../Typedtree/index.html#type-module_coercion">Typedtree.module_coercion</a></span></code></li><li id="type-module_type_declaration_symptom.Not_greater_than" class="def variant constructor anchored"><a href="#type-module_type_declaration_symptom.Not_greater_than" class="anchor"></a><code><span>| </span><span><span class="constructor">Not_greater_than</span> <span class="keyword">of</span> <a href="#type-module_type_diff">module_type_diff</a></span></code></li><li id="type-module_type_declaration_symptom.Not_less_than" class="def variant constructor anchored"><a href="#type-module_type_declaration_symptom.Not_less_than" class="anchor"></a><code><span>| </span><span><span class="constructor">Not_less_than</span> <span class="keyword">of</span> <a href="#type-module_type_diff">module_type_diff</a></span></code></li><li id="type-module_type_declaration_symptom.Incomparable" class="def variant constructor anchored"><a href="#type-module_type_declaration_symptom.Incomparable" class="anchor"></a><code><span>| </span><span><span class="constructor">Incomparable</span> <span class="keyword">of</span> </span><span>{</span></code><ol><li id="type-module_type_declaration_symptom.less_than" class="def record field anchored"><a href="#type-module_type_declaration_symptom.less_than" class="anchor"></a><code><span>less_than : <a href="#type-module_type_diff">module_type_diff</a>;</span></code></li><li id="type-module_type_declaration_symptom.greater_than" class="def record field anchored"><a href="#type-module_type_declaration_symptom.greater_than" class="anchor"></a><code><span>greater_than : <a href="#type-module_type_diff">module_type_diff</a>;</span></code></li></ol><code><span>}</span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-all"><a href="#type-all" class="anchor"></a><code><span><span class="keyword">type</span> all</span><span> = </span></code><ol><li id="type-all.In_Compilation_unit" class="def variant constructor anchored"><a href="#type-all.In_Compilation_unit" class="anchor"></a><code><span>| </span><span><span class="constructor">In_Compilation_unit</span> <span class="keyword">of</span> <span><span>(string, <a href="#type-signature_symptom">signature_symptom</a>)</span> <a href="#type-diff">diff</a></span></span></code></li><li id="type-all.In_Signature" class="def variant constructor anchored"><a href="#type-all.In_Signature" class="anchor"></a><code><span>| </span><span><span class="constructor">In_Signature</span> <span class="keyword">of</span> <a href="#type-signature_symptom">signature_symptom</a></span></code></li><li id="type-all.In_Module_type" class="def variant constructor anchored"><a href="#type-all.In_Module_type" class="anchor"></a><code><span>| </span><span><span class="constructor">In_Module_type</span> <span class="keyword">of</span> <a href="#type-module_type_diff">module_type_diff</a></span></code></li><li id="type-all.In_Module_type_substitution" class="def variant constructor anchored"><a href="#type-all.In_Module_type_substitution" class="anchor"></a><code><span>| </span><span><span class="constructor">In_Module_type_substitution</span> <span class="keyword">of</span> <a href="../../Ident/index.html#type-t">Ident.t</a>
|
||
* <span><span>(<a href="../../Types/index.html#type-module_type">Types.module_type</a>, <a href="#type-module_type_declaration_symptom">module_type_declaration_symptom</a>)</span> <a href="#type-diff">diff</a></span></span></code></li><li id="type-all.In_Type_declaration" class="def variant constructor anchored"><a href="#type-all.In_Type_declaration" class="anchor"></a><code><span>| </span><span><span class="constructor">In_Type_declaration</span> <span class="keyword">of</span> <a href="../../Ident/index.html#type-t">Ident.t</a> * <a href="#type-core_sigitem_symptom">core_sigitem_symptom</a></span></code></li><li id="type-all.In_Expansion" class="def variant constructor anchored"><a href="#type-all.In_Expansion" class="anchor"></a><code><span>| </span><span><span class="constructor">In_Expansion</span> <span class="keyword">of</span> <a href="#type-core_module_type_symptom">core_module_type_symptom</a></span></code></li></ol></div></div></div></body></html> |