v></div><dl><dt class="spec value" id="val-repeat"><a href="#val-repeat" class="anchor"></a><code><span class="keyword">val</span> repeat : int <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></span></code></dt><dd><p><code>repeat n a</code> return a list of <code>n</code> <code>a</code>s.</p></dd></dl><dl><dt class="spec value" id="val-set_nth"><a href="#val-set_nth" class="anchor"></a><code><span class="