<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Gg.M.html"> <link rel="next" href="Gg.Box.html"> <link rel="Up" href="Gg.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Gg" rel="Chapter" href="Gg.html"><link title="Constructors, accessors and constants" rel="Section" href="#cons"> <title>Gg.Size</title> </head> <body> <div class="navbar"><a class="pre" href="Gg.M.html" title="Gg.M">Previous</a> <a class="up" href="Gg.html" title="Gg">Up</a> <a class="post" href="Gg.Box.html" title="Gg.Box">Next</a> </div> <h1>Module type <a href="type_Gg.Size.html">Gg.Size</a></h1> <pre><span class="keyword">module type</span> Size = <code class="code"><span class="keyword">sig</span></code> <a href="Gg.Size.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info"> Implemented by all size types.<br> </div> <hr width="100%"> <pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre> <div class="info"> The type for sizes.<br> </div> <pre><span id="VALdim"><span class="keyword">val</span> dim</span> : <code class="type">int</code></pre><div class="info"> <code class="code">dim</code> is the dimension of sizes of type <a href="Gg.Size.html#TYPEt"><code class="code"><span class="constructor">Gg</span>.<span class="constructor">Size</span>.t</code></a>.<br> </div> <br> <h1 id="cons">Constructors, accessors and constants</h1><br> <pre><span id="VALzero"><span class="keyword">val</span> zero</span> : <code class="type"><a href="Gg.Size.html#TYPEt">t</a></code></pre><div class="info"> <code class="code">zero</code> is the zero size, zero extent in each dimension.<br> </div> <pre><span id="VALunit"><span class="keyword">val</span> unit</span> : <code class="type"><a href="Gg.Size.html#TYPEt">t</a></code></pre><div class="info"> <code class="code">unit</code> is the unit size, one extent in each dimension.<br> </div> </body></html>