moonpool/dev/ocaml/Find_recursive_functions/index.html

7 lines
No EOL
2 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>Find_recursive_functions (ocaml.Find_recursive_functions)</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; Find_recursive_functions</nav><header class="odoc-preamble"><h1>Module <code><span>Find_recursive_functions</span></code></h1><p>&quot;Recursive functions&quot; are those functions <code>f</code> that might call either:</p><ul><li>themselves, or</li><li>another function that in turn might call <code>f</code>.</li></ul><p>For example in the following simultaneous definition of <code>f</code> <code>g</code> and <code>h</code>, <code>f</code> and <code>g</code> are recursive functions, but not <code>h</code>: <code>let rec f x = g x
and g x = f x
and h x = g x</code></p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-in_function_declarations"><a href="#val-in_function_declarations" class="anchor"></a><code><span><span class="keyword">val</span> in_function_declarations :
<span><a href="../Flambda/index.html#type-function_declarations">Flambda.function_declarations</a> <span class="arrow">&#45;&gt;</span></span>
<span>backend:<span>(<span class="keyword">module</span> <a href="../Backend_intf/module-type-S/index.html">Backend_intf.S</a>)</span> <span class="arrow">&#45;&gt;</span></span>
<a href="../Variable/Set/index.html#type-t">Variable.Set.t</a></span></code></div><div class="spec-doc"><p>Determine the recursive functions, if any, bound by the given set of function declarations. This is only intended to be used by <code>Flambda.create_function_declarations</code>.</p></div></div></div></body></html>