ss="spec value" id="val-resize"><a href="#val-resize" class="anchor"></a><code><span class="keyword">val</span> resize : <span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> unit</code></dt><dd><p>Resize the vector to the specified size. The value provided will be use to set the newly created values if relevant</p></dd></dl><dl><dt class="spec value" id="val-map2"><a href="#va