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
17 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Pp (infer.IStdlib.Pp)</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; Pp</nav><h1>Module <code>IStdlib.Pp</code></h1></header><div class="spec module" id="module-F"><a href="#module-F" class="anchor"></a><code><span class="keyword">module</span> F = Stdlib.Format</code></div><aside><p>Pretty Printing</p></aside><dl><dt class="spec type" id="type-color"><a href="#type-color" class="anchor"></a><code><span class="keyword">type</span> color</code><code> = </code><table class="variant"><tr id="type-color.Black" class="anchored"><td class="def constructor"><a href="#type-color.Black" class="anchor"></a><code>| </code><code><span class="constructor">Black</span></code></td></tr><tr id="type-color.Blue" class="anchored"><td class="def constructor"><a href="#type-color.Blue" class="anchor"></a><code>| </code><code><span class="constructor">Blue</span></code></td></tr><tr id="type-color.Green" class="anchored"><td class="def constructor"><a href="#type-color.Green" class="anchor"></a><code>| </code><code><span class="constructor">Green</span></code></td></tr><tr id="type-color.Orange" class="anchored"><td class="def constructor"><a href="#type-color.Orange" class="anchor"></a><code>| </code><code><span class="constructor">Orange</span></code></td></tr><tr id="type-color.Red" class="anchored"><td class="def constructor"><a href="#type-color.Red" class="anchor"></a><code>| </code><code><span class="constructor">Red</span></code></td></tr></table></dt><dd><p>Colors supported in printing</p></dd></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-compare_color"><a href="#val-compare_color" class="anchor"></a><code><span class="keyword">val</span> compare_color : <a href="index.html#type-color">color</a> <span>&#45;&gt;</span> <a href="index.html#type-color">color</a> <span>&#45;&gt;</span> int</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-equal_color"><a href="#val-equal_color" class="anchor"></a><code><span class="keyword">val</span> equal_color : <a href="index.html#type-color">color</a> <span>&#45;&gt;</span> <a href="index.html#type-color">color</a> <span>&#45;&gt;</span> bool</code></dt></dl><dl><dt class="spec type" id="type-colormap"><a href="#type-colormap" class="anchor"></a><code><span class="keyword">type</span> colormap</code><code> = Stdlib.Obj.t <span>&#45;&gt;</span> <a href="index.html#type-color">color</a></code></dt><dd><p>map subexpressions (as Obj.t element compared by physical equality) to colors</p></dd></dl><dl><dt class="spec type" id="type-simple_kind"><a href="#type-simple_kind" class="anchor"></a><code><span class="keyword">type</span> simple_kind</code><code> = </code><table class="variant"><tr id="type-simple_kind.SIM_DEFAULT" class="anchored"><td class="def constructor"><a href="#type-simple_kind.SIM_DEFAULT" class="anchor"></a><code>| </code><code><span class="constructor">SIM_DEFAULT</span></code></td></tr><tr id="type-simple_kind.SIM_WITH_TYP" class="anchored"><td class="def constructor"><a href="#type-simple_kind.SIM_WITH_TYP" class="anchor"></a><code>| </code><code><span class="constructor">SIM_WITH_TYP</span></code></td></tr></table></dt><dd><p>Kind of simple printing: default or with full types</p></dd></dl><dl><dt class="spec type" id="type-print_kind"><a href="#type-print_kind" class="anchor"></a><code><span class="keyword">type</span> print_kind</code><code> = </code><table class="variant"><tr id="type-print_kind.TEXT" class="anchored"><td class="def constructor"><a href="#type-print_kind.TEXT" class="anchor"></a><code>| </code><code><span class="constructor">TEXT</span></