#type-t">t</a></span></code></dt><dd><p>Map a function at the same time as we are creating a list from an array</p><p>Warning: The function is mapped from the right to the left (in case it has side-effects).</p><p><code>of_array_map f l = of_array (Array.map f l) = map f (of_array l)</code></p></dd></dl><dl><dt class="spec value" id="val-of_array_mapi"><a href="#val-of_array_mapi" class="anchor"></a><code><span class="keyword">val</span> of_array_mapi : <span>(int <span>&#45;&gt;</span> <span class="type-va