Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > a06fe3be7ca7cd6a9299bfb91740bcdf > files > 33

ocaml-bin-prot-devel-109.30.00-2.mga4.x86_64.rpm

<!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="Binable.html">
<link rel="next" href="Common.html">
<link rel="Up" href="index.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="Binable" rel="Chapter" href="Binable.html">
<link title="Nat0" rel="Chapter" href="Nat0.html">
<link title="Common" rel="Chapter" href="Common.html">
<link title="Unsafe_common" rel="Chapter" href="Unsafe_common.html">
<link title="Unsafe_write_c" rel="Chapter" href="Unsafe_write_c.html">
<link title="Unsafe_read_c" rel="Chapter" href="Unsafe_read_c.html">
<link title="Size" rel="Chapter" href="Size.html">
<link title="Write_ml" rel="Chapter" href="Write_ml.html">
<link title="Read_ml" rel="Chapter" href="Read_ml.html">
<link title="Write_c" rel="Chapter" href="Write_c.html">
<link title="Read_c" rel="Chapter" href="Read_c.html">
<link title="Std" rel="Chapter" href="Std.html">
<link title="Type_class" rel="Chapter" href="Type_class.html">
<link title="Map_to_safe" rel="Chapter" href="Map_to_safe.html">
<link title="Utils" rel="Chapter" href="Utils.html"><title>Nat0</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Binable.html" title="Binable">Previous</a>
&nbsp;<a class="up" href="index.html" title="Index">Up</a>
&nbsp;<a class="post" href="Common.html" title="Common">Next</a>
</div>
<h1>Module <a href="type_Nat0.html">Nat0</a></h1>

<pre><span class="keyword">module</span> Nat0: <code class="code">sig</code> <a href="Nat0.html">..</a> <code class="code">end</code></pre><div class="info module top">
Nat0: natural numbers (including zero)<br>
</div>
<hr width="100%">

<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> = private <code class="type">int</code> </pre>


<pre><span id="VALof_int"><span class="keyword">val</span> of_int</span> : <code class="type">int -> <a href="Nat0.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">of_int n</code> converts integer <code class="code">n</code> to a natural number.<br>
<b>Raises</b> <code>Failure</code> if <code class="code">n</code> is negative.<br>
</div>

<pre><span id="VALunsafe_of_int"><span class="keyword">val</span> unsafe_of_int</span> : <code class="type">int -> <a href="Nat0.html#TYPEt">t</a></code></pre></body></html>