Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 5f7775d66d5394cb95afb60b1b12881e > files > 112

ocaml-camomile-devel-0.8.5-3.mga5.i586.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="CamomileLibrary.Type.UnicodeString.html">
<link rel="next" href="CamomileLibrary.Type.XString.html">
<link rel="Up" href="CamomileLibrary.Type.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 class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.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="CamomileLibrary" rel="Chapter" href="CamomileLibrary.html">
<link title="CamomileLibraryDefault" rel="Chapter" href="CamomileLibraryDefault.html">
<link title="CamomileLibraryDyn" rel="Chapter" href="CamomileLibraryDyn.html"><title>CamomileLibrary.Type.UText</title>
</head>
<body>
<div class="navbar"><a class="pre" href="CamomileLibrary.Type.UnicodeString.html" title="CamomileLibrary.Type.UnicodeString">Previous</a>
&nbsp;<a class="up" href="CamomileLibrary.Type.html" title="CamomileLibrary.Type">Up</a>
&nbsp;<a class="post" href="CamomileLibrary.Type.XString.html" title="CamomileLibrary.Type.XString">Next</a>
</div>
<h1>Module <a href="type_CamomileLibrary.Type.UText.html">CamomileLibrary.Type.UText</a></h1>

<pre><span class="keyword">module</span> UText: <code class="code">sig</code> <a href="CamomileLibrary.Type.UText.html">..</a> <code class="code">end</code></pre><hr width="100%">
<br>
An implementation of Unicode string.<br>
<br>
An implementation of Unicode string.  
   Internally, it uses integer array.
   The semantics matches the description of UStorage.<br>

<pre><span id="TYPEmutability"><span class="keyword">type</span> <code class="type"></code>mutability</span> = <code class="type">[ `Immutable | `Mutable ]</code> </pre>
<div class="info ">
Phantom type for distinguishing mutability<br>
</div>


<pre><span id="TYPEtext"><span class="keyword">type</span> <code class="type">'a</code> text</span> </pre>


<pre><span id="TYPEutext"><span class="keyword">type</span> <code class="type"></code>utext</span> = <code class="type">[ `Immutable ] <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a></code> </pre>


<pre><span id="TYPEustring"><span class="keyword">type</span> <code class="type"></code>ustring</span> = <code class="type">[ `Mutable ] <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a></code> </pre>


<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> = <code class="type"><a href="CamomileLibrary.Type.UText.html#TYPEutext">utext</a></code> </pre>


<pre><span id="VALutext_of_ustring"><span class="keyword">val</span> utext_of_ustring</span> : <code class="type"><a href="CamomileLibrary.Type.UText.html#TYPEustring">ustring</a> -> <a href="CamomileLibrary.Type.UText.html#TYPEutext">utext</a></code></pre>
<pre><span id="VALustring_of_utext"><span class="keyword">val</span> ustring_of_utext</span> : <code class="type"><a href="CamomileLibrary.Type.UText.html#TYPEutext">utext</a> -> <a href="CamomileLibrary.Type.UText.html#TYPEustring">ustring</a></code></pre>
<pre><span id="VALget"><span class="keyword">val</span> get</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -> int -> <a href="CamomileLibrary.Type.UChar.html#TYPEt">CamomileLibrary.Type.UChar.t</a></code></pre>
<pre><span id="VALset"><span class="keyword">val</span> set</span> : <code class="type"><a href="CamomileLibrary.Type.UText.html#TYPEustring">ustring</a> -><br>       int -> <a href="CamomileLibrary.Type.UChar.html#TYPEt">CamomileLibrary.Type.UChar.t</a> -> unit</code></pre><div class="info ">
<code class="code">set s i u</code> sets the <code class="code">i</code>-th character in <code class="code">s</code> to <code class="code">u</code>.<br>
</div>

<pre><span id="TYPEindex"><span class="keyword">type</span> <code class="type"></code>index</span> </pre>


<pre><span id="VALlook"><span class="keyword">val</span> look</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -><br>       <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a> -> <a href="CamomileLibrary.Type.UChar.html#TYPEt">CamomileLibrary.Type.UChar.t</a></code></pre>
<pre><span id="VALnth"><span class="keyword">val</span> nth</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -> int -> <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a></code></pre>
<pre><span id="VALfirst"><span class="keyword">val</span> first</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -> <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a></code></pre>
<pre><span id="VALlast"><span class="keyword">val</span> last</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -> <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a></code></pre>
<pre><span id="VALout_of_range"><span class="keyword">val</span> out_of_range</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -><br>       <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a> -> bool</code></pre>
<pre><span id="VALcompare_index"><span class="keyword">val</span> compare_index</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -><br>       <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a> -> <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a> -> int</code></pre>
<pre><span id="VALnext"><span class="keyword">val</span> next</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -><br>       <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a> -> <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a></code></pre>
<pre><span id="VALprev"><span class="keyword">val</span> prev</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -><br>       <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a> -> <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a></code></pre>
<pre><span id="VALmove"><span class="keyword">val</span> move</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -><br>       <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a> -> int -> <a href="CamomileLibrary.Type.UText.html#TYPEindex">index</a></code></pre>
<pre><span id="VALlength"><span class="keyword">val</span> length</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -> int</code></pre>
<pre><span id="VALof_string"><span class="keyword">val</span> of_string</span> : <code class="type">string -> <a href="CamomileLibrary.Type.UText.html#TYPEutext">utext</a></code></pre><div class="info ">
Conversion from Latin-1 strings.<br>
</div>

<pre><span id="VALinit"><span class="keyword">val</span> init</span> : <code class="type">int -><br>       (int -> <a href="CamomileLibrary.Type.UChar.html#TYPEt">CamomileLibrary.Type.UChar.t</a>) -> <a href="CamomileLibrary.Type.UText.html#TYPEutext">utext</a></code></pre>
<pre><span id="VALinit_ustring"><span class="keyword">val</span> init_ustring</span> : <code class="type">int -><br>       (int -> <a href="CamomileLibrary.Type.UChar.html#TYPEt">CamomileLibrary.Type.UChar.t</a>) -> <a href="CamomileLibrary.Type.UText.html#TYPEustring">ustring</a></code></pre>
<pre><span id="VALmake"><span class="keyword">val</span> make</span> : <code class="type">int -> <a href="CamomileLibrary.Type.UChar.html#TYPEt">CamomileLibrary.Type.UChar.t</a> -> <a href="CamomileLibrary.Type.UText.html#TYPEustring">ustring</a></code></pre><div class="info ">
The semantics of these function are similar to 
   the equivalents of string.<br>
</div>

<pre><span id="VALcopy"><span class="keyword">val</span> copy</span> : <code class="type"><a href="CamomileLibrary.Type.UText.html#TYPEustring">ustring</a> -> <a href="CamomileLibrary.Type.UText.html#TYPEustring">ustring</a></code></pre>
<pre><span id="VALsub"><span class="keyword">val</span> sub</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -><br>       int -> int -> 'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a></code></pre>
<pre><span id="VALfill"><span class="keyword">val</span> fill</span> : <code class="type"><a href="CamomileLibrary.Type.UText.html#TYPEustring">ustring</a> -><br>       int -> int -> <a href="CamomileLibrary.Type.UChar.html#TYPEt">CamomileLibrary.Type.UChar.t</a> -> unit</code></pre>
<pre><span id="VALblit"><span class="keyword">val</span> blit</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -><br>       int -> <a href="CamomileLibrary.Type.UText.html#TYPEustring">ustring</a> -> int -> int -> unit</code></pre>
<pre><span id="VALappend"><span class="keyword">val</span> append</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -><br>       'b <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -> 'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a></code></pre>
<pre><span id="VALiter"><span class="keyword">val</span> iter</span> : <code class="type">(<a href="CamomileLibrary.Type.UChar.html#TYPEt">CamomileLibrary.Type.UChar.t</a> -> unit) -><br>       'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -> unit</code></pre>
<pre><span id="VALcompare"><span class="keyword">val</span> compare</span> : <code class="type">'a <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -><br>       'b <a href="CamomileLibrary.Type.UText.html#TYPEtext">text</a> -> int</code></pre>
<pre><span class="keyword">module</span> <a href="CamomileLibrary.Type.UText.Buf.html">Buf</a>: <code class="code">sig</code> <a href="CamomileLibrary.Type.UText.Buf.html">..</a> <code class="code">end</code></pre></body></html>