moonpool/dev/ocaml/Diffing/Define/index.html

6 lines
No EOL
5.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>Define (ocaml.Diffing.Define)</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">Diffing</a> &#x00BB; Define</nav><header class="odoc-preamble"><h1>Module <code><span>Diffing.Define</span></code></h1><p><code>Define(Defs)</code> creates the diffing types from the types defined in <code>Defs</code> and the functors that need to be instantatied with the diffing algorithm parameters</p></header><nav class="odoc-toc"><ul><li><a href="#parameters">Parameters</a></li><li><a href="#signature">Signature</a></li></ul></nav><div class="odoc-content"><h2 id="parameters"><a href="#parameters" class="anchor"></a>Parameters</h2><div class="odoc-spec"><div class="spec parameter anchored" id="argument-1-D"><a href="#argument-1-D" class="anchor"></a><code><span><span class="keyword">module</span> </span><span><a href="argument-1-D/index.html">D</a></span><span> : <a href="../module-type-Defs/index.html">Defs</a></span></code></div></div><h2 id="signature"><a href="#signature" class="anchor"></a>Signature</h2><div class="odoc-spec"><div class="spec type anchored" id="type-change"><a href="#type-change" class="anchor"></a><code><span><span class="keyword">type</span> <span class="keyword">nonrec</span> change</span><span> = <span><span>(<a href="argument-1-D/index.html#type-left">D.left</a>, <a href="argument-1-D/index.html#type-right">D.right</a>, <a href="argument-1-D/index.html#type-eq">D.eq</a>, <a href="argument-1-D/index.html#type-diff">D.diff</a>)</span> <a href="../index.html#type-change">change</a></span></span></code></div><div class="spec-doc"><p>The type of potential changes on a list.</p></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-patch"><a href="#type-patch" class="anchor"></a><code><span><span class="keyword">type</span> patch</span><span> = <span><a href="#type-change">change</a> list</span></span></code></div><div class="spec-doc"><p>A patch is an ordered list of changes.</p></div></div><div class="odoc-spec"><div class="spec module-type anchored" id="module-type-Parameters"><a href="#module-type-Parameters" class="anchor"></a><code><span><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-Parameters/index.html">Parameters</a></span><span> = <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module-type anchored" id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-S/index.html">S</a></span><span> = <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Simple"><a href="#module-Simple" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Simple/index.html">Simple</a></span><span> (<a href="Simple/argument-1-_/index.html">_</a> : <a href="module-type-Parameters/index.html">Parameters</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="module-type-Parameters/index.html#type-update_result">update_result</a> := <a href="argument-1-D/index.html#type-state">D.state</a></span>) : <a href="module-type-S/index.html">S</a></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Left_variadic"><a href="#module-Left_variadic" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Left_variadic/index.html">Left_variadic</a></span><span>
(<a href="Left_variadic/argument-1-_/index.html">_</a> : <a href="module-type-Parameters/index.html">Parameters</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="module-type-Parameters/index.html#type-update_result">update_result</a> := <a href="argument-1-D/index.html#type-state">D.state</a> * <span><a href="argument-1-D/index.html#type-left">D.left</a> array</span></span>) :
<a href="module-type-S/index.html">S</a></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Right_variadic"><a href="#module-Right_variadic" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Right_variadic/index.html">Right_variadic</a></span><span>
(<a href="Right_variadic/argument-1-_/index.html">_</a> : <a href="module-type-Parameters/index.html">Parameters</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="module-type-Parameters/index.html#type-update_result">update_result</a> := <a href="argument-1-D/index.html#type-state">D.state</a> * <span><a href="argument-1-D/index.html#type-right">D.right</a> array</span></span>) :
<a href="module-type-S/index.html">S</a></span></code></div></div></div></body></html>