<!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="next" href="M_GCounter.html">
<link rel="Up" href="index.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="IList" rel="Chapter" href="IList.html">
<link title="M_GCounter" rel="Chapter" href="M_GCounter.html">
<link title="M_GSet" rel="Chapter" href="M_GSet.html">
<link title="M_IntVector" rel="Chapter" href="M_IntVector.html">
<link title="M_ORSet" rel="Chapter" href="M_ORSet.html">
<link title="M_PNCounter" rel="Chapter" href="M_PNCounter.html">
<link title="M_USet" rel="Chapter" href="M_USet.html">
<link title="Mutable_types" rel="Chapter" href="Mutable_types.html"><title>IList</title>
</head>
<body>
<div class="navbar">&nbsp;<a class="up" href="index.html" title="Index">Up</a>
&nbsp;<a class="post" href="M_GCounter.html" title="M_GCounter">Next</a>
</div>
<h1>Module <a href="type_IList.html">IList</a></h1>

<pre><span class="keyword">module</span> IList: <code class="code"><span class="keyword">sig</span></code> <a href="IList.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info module top">
Helper List library that supports dynamic padding for higher-order
    functions operating on lists of different length.<br>
</div>
<hr width="100%">

<pre><span id="VALincr_nth"><span class="keyword">val</span> incr_nth</span> : <code class="type">int list -> int -> int list</code></pre><div class="info ">
<code class="code">incr_nth l n</code> adds one to the <code class="code">n</code>th element of l.<br>
</div>

<pre><span id="VALfill_map2"><span class="keyword">val</span> fill_map2</span> : <code class="type">(int -> int -> int) -> int list -> int list -> int list</code></pre><div class="info ">
<code class="code">fill_map2 f l l'</code> padds with zeros the smaller list before applying <code class="code">f</code>.<br>
</div>

<pre><span id="VALfill_fold_left2"><span class="keyword">val</span> fill_fold_left2</span> : <code class="type">(int -> int -> int -> int) -> int -> int list -> int list -> int</code></pre><div class="info ">
<code class="code">fill_fold_left2 f l l'</code> padds with zeros the smaller list before applying <code class="code">f</code>.<br>
</div>
</body></html>