mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-18 08:36:43 -05:00
2 lines
No EOL
4.6 KiB
HTML
2 lines
No EOL
4.6 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Define (ocaml.Diffing_with_keys.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> » <a href="../index.html">Diffing_with_keys</a> » Define</nav><header class="odoc-preamble"><h1>Module <code><span>Diffing_with_keys.Define</span></code></h1></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="../../Diffing/module-type-Defs/index.html">Diffing.Defs</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../Diffing/module-type-Defs/index.html#type-eq">eq</a> := unit</span></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-diff"><a href="#type-diff" class="anchor"></a><code><span><span class="keyword">type</span> diff</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-diff">D.diff</a>)</span> <a href="../index.html#type-mismatch">mismatch</a></span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-left"><a href="#type-left" class="anchor"></a><code><span><span class="keyword">type</span> left</span><span> = <span><a href="argument-1-D/index.html#type-left">D.left</a> <a href="../index.html#type-with_pos">with_pos</a></span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-right"><a href="#type-right" class="anchor"></a><code><span><span class="keyword">type</span> right</span><span> = <span><a href="argument-1-D/index.html#type-right">D.right</a> <a href="../index.html#type-with_pos">with_pos</a></span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-composite_change"><a href="#type-composite_change" class="anchor"></a><code><span><span class="keyword">type</span> composite_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-diff">D.diff</a>)</span> <a href="../index.html#type-change">change</a></span></span></code></div><div class="spec-doc"><p>Composite changes and patches</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-composite_change">composite_change</a> list</span></span></code></div></div><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> change</span><span> = <span><span>(<a href="#type-left">left</a>, <a href="#type-right">right</a>, unit, <a href="#type-diff">diff</a>)</span> <a href="../../Diffing/index.html#type-change">Diffing.change</a></span></span></code></div><div class="spec-doc"><p>Atomic 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 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">sig</span> ... <span class="keyword">end</span></span></code></div></div></div></body></html> |