Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 244a22c214171fa4b404288f1be10928 > files > 9

ocaml-ounit-devel-1.1.2-4.fc18.i686.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="OUnitDiff.SetMake.html">
<link rel="Up" href="OUnitDiff.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="OUnit" rel="Chapter" href="OUnit.html">
<link title="OUnitDiff" rel="Chapter" href="OUnitDiff.html"><title>OUnit user guide : OUnitDiff.ListSimpleMake</title>
</head>
<body>
<div class="navbar"><a class="pre" href="OUnitDiff.SetMake.html" title="OUnitDiff.SetMake">Previous</a>
&nbsp;<a class="up" href="OUnitDiff.html" title="OUnitDiff">Up</a>
&nbsp;</div>
<h1>Functor <a href="type_OUnitDiff.ListSimpleMake.html">OUnitDiff.ListSimpleMake</a></h1>
<pre><span class="keyword">module</span> ListSimpleMake: <div class="sig_block"><code class="code"><span class="keyword">functor</span> (</code><code class="code"><span class="constructor">D</span></code><code class="code"> : </code><code class="type"><a href="OUnitDiff.DIFF_ELEMENT.html">DIFF_ELEMENT</a></code><code class="code">) <span class="keywordsign">-&gt;</span> </code><code class="type"><a href="OUnitDiff.S.html">S</a></code><code class="type">  
  with type e = D.t and type t = D.t list</code></div></pre><div class="info">
Collection of elements based on a List, order matters but difference display
    is very simple. It stops at the first element which differs.<br>
</div>
<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>D</code></td>
<td align="center" valign="top">:</td>
<td><code class="type"><a href="OUnitDiff.DIFF_ELEMENT.html">DIFF_ELEMENT</a></code>
</table>
</td>
</tr>
</table>
<hr width="100%">
<pre><span id="TYPEe"><span class="keyword">type</span> <code class="type"></code>e</span> </pre>
<div class="info">
Type of an element<br>
</div>

<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>
<div class="info">
Type of a collection of element<br>
</div>

<pre><span id="VALcompare"><span class="keyword">val</span> compare</span> : <code class="type"><a href="OUnitDiff.S.html#TYPEt">t</a> -> <a href="OUnitDiff.S.html#TYPEt">t</a> -> int</code></pre><div class="info">
Compare a collection of element<br>
</div>
<pre><span id="VALpp_printer"><span class="keyword">val</span> pp_printer</span> : <code class="type">Format.formatter -> <a href="OUnitDiff.S.html#TYPEt">t</a> -> unit</code></pre><div class="info">
Pretty printer a collection of element<br>
</div>
<pre><span id="VALpp_diff"><span class="keyword">val</span> pp_diff</span> : <code class="type">Format.formatter -> <a href="OUnitDiff.S.html#TYPEt">t</a> * <a href="OUnitDiff.S.html#TYPEt">t</a> -> unit</code></pre><div class="info">
Pretty printer for collection differences<br>
</div>
<pre><span id="VALassert_equal"><span class="keyword">val</span> assert_equal</span> : <code class="type">?msg:string -> <a href="OUnitDiff.S.html#TYPEt">t</a> -> <a href="OUnitDiff.S.html#TYPEt">t</a> -> unit</code></pre><div class="info">
<a href="OUnitDiff.S.html#VALassert_equal"><code class="code"><span class="constructor">OUnitDiff</span>.<span class="constructor">S</span>.assert_equal</code></a> with <code class="code">~diff</code>, <code class="code">~cmp</code> and <code class="code">~printer</code> predefined for
        this collection events<br>
</div>
<pre><span id="VALof_list"><span class="keyword">val</span> of_list</span> : <code class="type"><a href="OUnitDiff.S.html#TYPEe">e</a> list -> <a href="OUnitDiff.S.html#TYPEt">t</a></code></pre><div class="info">
Create <code class="code">t</code> using of list<br>
</div>
</body></html>