sidekick/dev/sidekick/Sidekick_cc/CC/Handler_action/index.html
2023-02-24 02:08:35 +00:00

2 lines
No EOL
3 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>Handler_action (sidekick.Sidekick_cc.CC.Handler_action)</title><link rel="stylesheet" href="../../../../_odoc_support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../_odoc_support/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">sidekick</a> &#x00BB; <a href="../../index.html">Sidekick_cc</a> &#x00BB; <a href="../index.html">CC</a> &#x00BB; Handler_action</nav><header class="odoc-preamble"><h1>Module <code><span>CC.Handler_action</span></code></h1><p>Handler Actions</p><p>Actions that can be scheduled by event handlers.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span></code><ol><li id="type-t.Act_merge" class="def variant constructor anchored"><a href="#type-t.Act_merge" class="anchor"></a><code><span>| </span><span><span class="constructor">Act_merge</span> <span class="keyword">of</span> <a href="../../E_node/index.html#type-t">E_node.t</a> * <a href="../../E_node/index.html#type-t">E_node.t</a> * <a href="../../Expl/index.html#type-t">Expl.t</a></span></code></li><li id="type-t.Act_propagate" class="def variant constructor anchored"><a href="#type-t.Act_propagate" class="anchor"></a><code><span>| </span><span><span class="constructor">Act_propagate</span> <span class="keyword">of</span> <a href="../../../Sidekick_core/Lit/index.html#type-t">Sidekick_core.Lit.t</a> * <a href="../index.html#type-propagation_reason">propagation_reason</a></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-conflict"><a href="#type-conflict" class="anchor"></a><code><span><span class="keyword">type</span> conflict</span><span> = </span></code><ol><li id="type-conflict.Conflict" class="def variant constructor anchored"><a href="#type-conflict.Conflict" class="anchor"></a><code><span>| </span><span><span class="constructor">Conflict</span> <span class="keyword">of</span> <a href="../../Expl/index.html#type-t">Expl.t</a></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-or_conflict"><a href="#type-or_conflict" class="anchor"></a><code><span><span class="keyword">type</span> or_conflict</span><span> = <span><span>(<span><a href="#type-t">t</a> list</span>, <a href="#type-conflict">conflict</a>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p>Actions or conflict scheduled by an event handler.</p><ul><li><code>Ok acts</code> is a list of merges and propagations</li><li><code>Error confl</code> is a conflict to resolve.</li></ul></div></div></div></body></html>