<!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=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Reins.SplaySet.MonoSet.html"> <link rel="Up" href="Reins.SplaySet.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.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="Reins" rel="Chapter" href="Reins.html"><title>Reins.SplaySet.GenSet</title> </head> <body> <div class="navbar"><a href="Reins.SplaySet.MonoSet.html">Previous</a> <a href="Reins.SplaySet.html">Up</a> </div> <center><h1>Functor <a href="type_Reins.SplaySet.GenSet.html">Reins.SplaySet.GenSet</a></h1></center> <br> <pre><span class="keyword">module</span> GenSet: <div class="sig_block"><code class="code">functor (</code><code class="code">C</code><code class="code"> : </code><code class="type"><a href="Reins.Types.Mono.ArbitraryComparable.html">Reins.Types.Mono.ArbitraryComparable</a></code><code class="code">) -> </code><code class="type"><a href="Reins.Sets.GenSetSig.html">Reins.Sets.GenSetSig</a></code><code class="type"> with type elt = C.t and type 'a result = 'a * GenSet(C).t</code></div></pre>This functor is similar to the <a href="Reins.SplaySet.MonoSet.html"><code class="code">Reins.SplaySet.MonoSet</code></a> functor except it is parameterized by a module that also supports the <code class="code">gen</code> operation. Therefore, the resulting module is also able to generate number sets.<br> <table border="0" cellpadding="3" width="100%"> <tr> <td align="left" valign="top" width="1%%"><b>Parameters: </b></td> <td> <table class="paramstable"> <tr> <td align="center" valign="top" width="15%"> <code>C</code></td> <td align="center" valign="top">:</td> <td><code class="type"><a href="Reins.Types.Mono.ArbitraryComparable.html">Reins.Types.Mono.ArbitraryComparable</a></code> </table> </td> </tr> </table> <hr width="100%"> <pre><span class="keyword">include</span> <a href="Reins.Sets.MonoSetSig.html">Reins.Sets.MonoSetSig</a></pre> <pre><span class="keyword">val</span> <a name="VALgen"></a>gen : <code class="type">?size:int -> Random.State.t -> t</code></pre></body></html>