mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-16 15:56:21 -05:00
2 lines
No EOL
5.3 KiB
HTML
2 lines
No EOL
5.3 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Switch (ocaml.Switch)</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> » Switch</nav><header class="odoc-preamble"><h1>Module <code><span>Switch</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-shared"><a href="#type-shared" class="anchor"></a><code><span><span class="keyword">type</span> <span>'a shared</span></span><span> = </span></code><ol><li id="type-shared.Shared" class="def variant constructor anchored"><a href="#type-shared.Shared" class="anchor"></a><code><span>| </span><span><span class="constructor">Shared</span> <span class="keyword">of</span> <span class="type-var">'a</span></span></code></li><li id="type-shared.Single" class="def variant constructor anchored"><a href="#type-shared.Single" class="anchor"></a><code><span>| </span><span><span class="constructor">Single</span> <span class="keyword">of</span> <span class="type-var">'a</span></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-t_store"><a href="#type-t_store" class="anchor"></a><code><span><span class="keyword">type</span> <span>('a, 'ctx) t_store</span></span><span> = </span><span>{</span></code><ol><li id="type-t_store.act_get" class="def record field anchored"><a href="#type-t_store.act_get" class="anchor"></a><code><span>act_get : <span>unit <span class="arrow">-></span></span> <span><span class="type-var">'a</span> array</span>;</span></code></li><li id="type-t_store.act_get_shared" class="def record field anchored"><a href="#type-t_store.act_get_shared" class="anchor"></a><code><span>act_get_shared : <span>unit <span class="arrow">-></span></span> <span><span><span class="type-var">'a</span> <a href="#type-shared">shared</a></span> array</span>;</span></code></li><li id="type-t_store.act_store" class="def record field anchored"><a href="#type-t_store.act_store" class="anchor"></a><code><span>act_store : <span><span class="type-var">'ctx</span> <span class="arrow">-></span></span> <span><span class="type-var">'a</span> <span class="arrow">-></span></span> int;</span></code></li><li id="type-t_store.act_store_shared" class="def record field anchored"><a href="#type-t_store.act_store_shared" class="anchor"></a><code><span>act_store_shared : <span><span class="type-var">'ctx</span> <span class="arrow">-></span></span> <span><span class="type-var">'a</span> <span class="arrow">-></span></span> int;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec module-type anchored" id="module-type-Stored"><a href="#module-type-Stored" class="anchor"></a><code><span><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-Stored/index.html">Stored</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-CtxStored"><a href="#module-type-CtxStored" class="anchor"></a><code><span><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-CtxStored/index.html">CtxStored</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-CtxStore"><a href="#module-CtxStore" class="anchor"></a><code><span><span class="keyword">module</span> <a href="CtxStore/index.html">CtxStore</a></span><span> (<a href="CtxStore/argument-1-A/index.html">A</a> : <a href="module-type-CtxStored/index.html">CtxStored</a>) : <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-Store"><a href="#module-Store" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Store/index.html">Store</a></span><span> (<a href="Store/argument-1-A/index.html">A</a> : <a href="module-type-Stored/index.html">Stored</a>) : <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-Make"><a href="#module-Make" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Make/index.html">Make</a></span><span> (<a href="Make/argument-1-Arg/index.html">Arg</a> : <a href="module-type-S/index.html">S</a>) : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div></div></body></html> |