You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
4.9 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>PartialOrder (infer.IStdlib.PartialOrder)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">IStdlib</a> &#x00BB; PartialOrder</nav><h1>Module <code>IStdlib.PartialOrder</code></h1></header><dl><dt class="spec type" id="type-total"><a href="#type-total" class="anchor"></a><code><span class="keyword">type</span> total</code> = <code>[ </code><table class="variant"><tr id="type-total.LeftSmallerThanRight" class="anchored"><td class="def constructor"><a href="#type-total.LeftSmallerThanRight" class="anchor"></a><code>| </code><code>`LeftSmallerThanRight</code></td></tr><tr id="type-total.Equal" class="anchored"><td class="def constructor"><a href="#type-total.Equal" class="anchor"></a><code>| </code><code>`Equal</code></td></tr><tr id="type-total.RightSmallerThanLeft" class="anchored"><td class="def constructor"><a href="#type-total.RightSmallerThanLeft" class="anchor"></a><code>| </code><code>`RightSmallerThanLeft</code></td></tr></table><code> ]</code></dt><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code> = <code>[ </code><table class="variant"><tr id="type-t.total" class="anchored"><td class="def type"><a href="#type-t.total" class="anchor"></a><code>| </code><code><a href="index.html#type-total">total</a></code></td></tr><tr id="type-t.NotComparable" class="anchored"><td class="def constructor"><a href="#type-t.NotComparable" class="anchor"></a><code>| </code><code>`NotComparable</code></td></tr></table><code> ]</code></dt></dl><dl><dt class="spec value" id="val-join"><a href="#val-join" class="anchor"></a><code><span class="keyword">val</span> join : <span>[&lt; <a href="index.html#type-t">t</a> ]</span> <span>&#45;&gt;</span> <span>[&lt; <a href="index.html#type-t">t</a> ]</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt></dl><dl><dt class="spec type" id="type-xcompare"><a href="#type-xcompare" class="anchor"></a><code><span class="keyword">type</span> <span>'a xcompare</span></code><code> = <span>lhs:<span class="type-var">'a</span></span> <span>&#45;&gt;</span> <span>rhs:<span class="type-var">'a</span></span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec type" id="type-xcompare_total"><a href="#type-xcompare_total" class="anchor"></a><code><span class="keyword">type</span> <span>'a xcompare_total</span></code><code> = <span>lhs:<span class="type-var">'a</span></span> <span>&#45;&gt;</span> <span>rhs:<span class="type-var">'a</span></span> <span>&#45;&gt;</span> <a href="index.html#type-total">total</a></code></dt></dl><dl><dt class="spec value" id="val-of_compare"><a href="#val-of_compare" class="anchor"></a><code><span class="keyword">val</span> of_compare : <span>compare:<span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> int)</span></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-xcompare_total">xcompare_total</a></span></code></dt><dt class="spec value" id="val-of_le"><a href="#val-of_le" class="anchor"></a><code><span class="keyword">val</span> of_le : <span>le:<span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> bool)</span></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-xcompare">xcompare</a></span></code></dt><dt class="spec value" id="val-of_opt"><a href="#val-of_opt" class="anchor"></a><code><span class="keyword">val</span> of_opt : <span>xcompare_elt:<span><span class="type-var">'a</span> <a href="index.html#ty