mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-18 16:46:41 -05:00
27 lines
17 KiB
HTML
27 lines
17 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Typetexp (ocaml.Typetexp)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.2"/><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> » Typetexp</nav><header class="odoc-preamble"><h1>Module <code><span>Typetexp</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-valid_tyvar_name"><a href="#val-valid_tyvar_name" class="anchor"></a><code><span><span class="keyword">val</span> valid_tyvar_name : <span>string <span class="arrow">-></span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-poly_univars"><a href="#type-poly_univars" class="anchor"></a><code><span><span class="keyword">type</span> poly_univars</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-make_poly_univars"><a href="#val-make_poly_univars" class="anchor"></a><code><span><span class="keyword">val</span> make_poly_univars : <span><span>string list</span> <span class="arrow">-></span></span> <a href="#type-poly_univars">poly_univars</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-check_poly_univars"><a href="#val-check_poly_univars" class="anchor"></a><code><span><span class="keyword">val</span> check_poly_univars :
|
||
<span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span>
|
||
<span><a href="../Location/index.html#type-t">Location.t</a> <span class="arrow">-></span></span>
|
||
<span><a href="#type-poly_univars">poly_univars</a> <span class="arrow">-></span></span>
|
||
<span><a href="../Types/index.html#type-type_expr">Types.type_expr</a> list</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-instance_poly_univars"><a href="#val-instance_poly_univars" class="anchor"></a><code><span><span class="keyword">val</span> instance_poly_univars :
|
||
<span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span>
|
||
<span><a href="../Location/index.html#type-t">Location.t</a> <span class="arrow">-></span></span>
|
||
<span><a href="#type-poly_univars">poly_univars</a> <span class="arrow">-></span></span>
|
||
<span><a href="../Types/index.html#type-type_expr">Types.type_expr</a> list</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-transl_simple_type"><a href="#val-transl_simple_type" class="anchor"></a><code><span><span class="keyword">val</span> transl_simple_type :
|
||
<span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?univars</span>:<a href="#type-poly_univars">poly_univars</a> <span class="arrow">-></span></span>
|
||
<span>bool <span class="arrow">-></span></span>
|
||
<span><a href="../Parsetree/index.html#type-core_type">Parsetree.core_type</a> <span class="arrow">-></span></span>
|
||
<a href="../Typedtree/index.html#type-core_type">Typedtree.core_type</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-transl_simple_type_univars"><a href="#val-transl_simple_type_univars" class="anchor"></a><code><span><span class="keyword">val</span> transl_simple_type_univars :
|
||
<span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span>
|
||
<span><a href="../Parsetree/index.html#type-core_type">Parsetree.core_type</a> <span class="arrow">-></span></span>
|
||
<a href="../Typedtree/index.html#type-core_type">Typedtree.core_type</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-transl_simple_type_delayed"><a href="#val-transl_simple_type_delayed" class="anchor"></a><code><span><span class="keyword">val</span> transl_simple_type_delayed :
|
||
<span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span>
|
||
<span><a href="../Parsetree/index.html#type-core_type">Parsetree.core_type</a> <span class="arrow">-></span></span>
|
||
<a href="../Typedtree/index.html#type-core_type">Typedtree.core_type</a> * <a href="../Types/index.html#type-type_expr">Types.type_expr</a> * <span>(<span>unit <span class="arrow">-></span></span> unit)</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-transl_type_scheme"><a href="#val-transl_type_scheme" class="anchor"></a><code><span><span class="keyword">val</span> transl_type_scheme : <span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span> <span><a href="../Parsetree/index.html#type-core_type">Parsetree.core_type</a> <span class="arrow">-></span></span> <a href="../Typedtree/index.html#type-core_type">Typedtree.core_type</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-reset_type_variables"><a href="#val-reset_type_variables" class="anchor"></a><code><span><span class="keyword">val</span> reset_type_variables : <span>unit <span class="arrow">-></span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-type_variable"><a href="#val-type_variable" class="anchor"></a><code><span><span class="keyword">val</span> type_variable : <span><a href="../Location/index.html#type-t">Location.t</a> <span class="arrow">-></span></span> <span>string <span class="arrow">-></span></span> <a href="../Types/index.html#type-type_expr">Types.type_expr</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-transl_type_param"><a href="#val-transl_type_param" class="anchor"></a><code><span><span class="keyword">val</span> transl_type_param : <span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span> <span><a href="../Parsetree/index.html#type-core_type">Parsetree.core_type</a> <span class="arrow">-></span></span> <a href="../Typedtree/index.html#type-core_type">Typedtree.core_type</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-variable_context"><a href="#type-variable_context" class="anchor"></a><code><span><span class="keyword">type</span> variable_context</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-narrow"><a href="#val-narrow" class="anchor"></a><code><span><span class="keyword">val</span> narrow : <span>unit <span class="arrow">-></span></span> <a href="#type-variable_context">variable_context</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-widen"><a href="#val-widen" class="anchor"></a><code><span><span class="keyword">val</span> widen : <span><a href="#type-variable_context">variable_context</a> <span class="arrow">-></span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec exception anchored" id="exception-Already_bound"><a href="#exception-Already_bound" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">Already_bound</span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-error"><a href="#type-error" class="anchor"></a><code><span><span class="keyword">type</span> error</span><span> = </span></code><ol><li id="type-error.Unbound_type_variable" class="def variant constructor anchored"><a href="#type-error.Unbound_type_variable" class="anchor"></a><code><span>| </span><span><span class="constructor">Unbound_type_variable</span> <span class="keyword">of</span> string</span></code></li><li id="type-error.Undefined_type_constructor" class="def variant constructor anchored"><a href="#type-error.Undefined_type_constructor" class="anchor"></a><code><span>| </span><span><span class="constructor">Undefined_type_constructor</span> <span class="keyword">of</span> <a href="../Path/index.html#type-t">Path.t</a></span></code></li><li id="type-error.Type_arity_mismatch" class="def variant constructor anchored"><a href="#type-error.Type_arity_mismatch" class="anchor"></a><code><span>| </span><span><span class="constructor">Type_arity_mismatch</span> <span class="keyword">of</span> <a href="../Longident/index.html#type-t">Longident.t</a> * int * int</span></code></li><li id="type-error.Bound_type_variable" class="def variant constructor anchored"><a href="#type-error.Bound_type_variable" class="anchor"></a><code><span>| </span><span><span class="constructor">Bound_type_variable</span> <span class="keyword">of</span> string</span></code></li><li id="type-error.Recursive_type" class="def variant constructor anchored"><a href="#type-error.Recursive_type" class="anchor"></a><code><span>| </span><span><span class="constructor">Recursive_type</span></span></code></li><li id="type-error.Unbound_row_variable" class="def variant constructor anchored"><a href="#type-error.Unbound_row_variable" class="anchor"></a><code><span>| </span><span><span class="constructor">Unbound_row_variable</span> <span class="keyword">of</span> <a href="../Longident/index.html#type-t">Longident.t</a></span></code></li><li id="type-error.Type_mismatch" class="def variant constructor anchored"><a href="#type-error.Type_mismatch" class="anchor"></a><code><span>| </span><span><span class="constructor">Type_mismatch</span> <span class="keyword">of</span> <a href="../Errortrace/index.html#type-unification_error">Errortrace.unification_error</a></span></code></li><li id="type-error.Alias_type_mismatch" class="def variant constructor anchored"><a href="#type-error.Alias_type_mismatch" class="anchor"></a><code><span>| </span><span><span class="constructor">Alias_type_mismatch</span> <span class="keyword">of</span> <a href="../Errortrace/index.html#type-unification_error">Errortrace.unification_error</a></span></code></li><li id="type-error.Present_has_conjunction" class="def variant constructor anchored"><a href="#type-error.Present_has_conjunction" class="anchor"></a><code><span>| </span><span><span class="constructor">Present_has_conjunction</span> <span class="keyword">of</span> string</span></code></li><li id="type-error.Present_has_no_type" class="def variant constructor anchored"><a href="#type-error.Present_has_no_type" class="anchor"></a><code><span>| </span><span><span class="constructor">Present_has_no_type</span> <span class="keyword">of</span> string</span></code></li><li id="type-error.Constructor_mismatch" class="def variant constructor anchored"><a href="#type-error.Constructor_mismatch" class="anchor"></a><code><span>| </span><span><span class="constructor">Constructor_mismatch</span> <span class="keyword">of</span> <a href="../Types/index.html#type-type_expr">Types.type_expr</a> * <a href="../Types/index.html#type-type_expr">Types.type_expr</a></span></code></li><li id="type-error.Not_a_variant" class="def variant constructor anchored"><a href="#type-error.Not_a_variant" class="anchor"></a><code><span>| </span><span><span class="constructor">Not_a_variant</span> <span class="keyword">of</span> <a href="../Types/index.html#type-type_expr">Types.type_expr</a></span></code></li><li id="type-error.Variant_tags" class="def variant constructor anchored"><a href="#type-error.Variant_tags" class="anchor"></a><code><span>| </span><span><span class="constructor">Variant_tags</span> <span class="keyword">of</span> string * string</span></code></li><li id="type-error.Invalid_variable_name" class="def variant constructor anchored"><a href="#type-error.Invalid_variable_name" class="anchor"></a><code><span>| </span><span><span class="constructor">Invalid_variable_name</span> <span class="keyword">of</span> string</span></code></li><li id="type-error.Cannot_quantify" class="def variant constructor anchored"><a href="#type-error.Cannot_quantify" class="anchor"></a><code><span>| </span><span><span class="constructor">Cannot_quantify</span> <span class="keyword">of</span> string * <a href="../Types/index.html#type-type_expr">Types.type_expr</a></span></code></li><li id="type-error.Multiple_constraints_on_type" class="def variant constructor anchored"><a href="#type-error.Multiple_constraints_on_type" class="anchor"></a><code><span>| </span><span><span class="constructor">Multiple_constraints_on_type</span> <span class="keyword">of</span> <a href="../Longident/index.html#type-t">Longident.t</a></span></code></li><li id="type-error.Method_mismatch" class="def variant constructor anchored"><a href="#type-error.Method_mismatch" class="anchor"></a><code><span>| </span><span><span class="constructor">Method_mismatch</span> <span class="keyword">of</span> string * <a href="../Types/index.html#type-type_expr">Types.type_expr</a> * <a href="../Types/index.html#type-type_expr">Types.type_expr</a></span></code></li><li id="type-error.Opened_object" class="def variant constructor anchored"><a href="#type-error.Opened_object" class="anchor"></a><code><span>| </span><span><span class="constructor">Opened_object</span> <span class="keyword">of</span> <span><a href="../Path/index.html#type-t">Path.t</a> option</span></span></code></li><li id="type-error.Not_an_object" class="def variant constructor anchored"><a href="#type-error.Not_an_object" class="anchor"></a><code><span>| </span><span><span class="constructor">Not_an_object</span> <span class="keyword">of</span> <a href="../Types/index.html#type-type_expr">Types.type_expr</a></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec exception anchored" id="exception-Error"><a href="#exception-Error" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">Error</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * <a href="../Env/index.html#type-t">Env.t</a> * <a href="#type-error">error</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-report_error"><a href="#val-report_error" class="anchor"></a><code><span><span class="keyword">val</span> report_error : <span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span> <span><a href="../Stdlib/Format/index.html#type-formatter">Stdlib.Format.formatter</a> <span class="arrow">-></span></span> <span><a href="#type-error">error</a> <span class="arrow">-></span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-transl_modtype_longident"><a href="#val-transl_modtype_longident" class="anchor"></a><code><span><span class="keyword">val</span> transl_modtype_longident :
|
||
<span><span>(<span><a href="../Location/index.html#type-t">Location.t</a> <span class="arrow">-></span></span> <span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span> <span><a href="../Longident/index.html#type-t">Longident.t</a> <span class="arrow">-></span></span> <a href="../Path/index.html#type-t">Path.t</a>)</span> <a href="../Stdlib/index.html#type-ref">ref</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-transl_modtype"><a href="#val-transl_modtype" class="anchor"></a><code><span><span class="keyword">val</span> transl_modtype :
|
||
<span><span>(<span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span> <span><a href="../Parsetree/index.html#type-module_type">Parsetree.module_type</a> <span class="arrow">-></span></span> <a href="../Typedtree/index.html#type-module_type">Typedtree.module_type</a>)</span> <a href="../Stdlib/index.html#type-ref">ref</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_package_mty"><a href="#val-create_package_mty" class="anchor"></a><code><span><span class="keyword">val</span> create_package_mty :
|
||
<span><a href="../Location/index.html#type-t">Location.t</a> <span class="arrow">-></span></span>
|
||
<span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span>
|
||
<span><a href="../Parsetree/index.html#type-package_type">Parsetree.package_type</a> <span class="arrow">-></span></span>
|
||
<span><span>(<span><a href="../Longident/index.html#type-t">Longident.t</a> <a href="../Asttypes/index.html#type-loc">Asttypes.loc</a></span> * <a href="../Parsetree/index.html#type-core_type">Parsetree.core_type</a>)</span> list</span> * <a href="../Parsetree/index.html#type-module_type">Parsetree.module_type</a></span></code></div></div></div></body></html>
|