"type-result"><a href="#type-result" class="anchor"></a><code><span class="keyword">type</span> <span>'a result</span></code></dt></dl><dl><dt class="spec value" id="val-foreign"><a href="#val-foreign" class="anchor"></a><code><span class="keyword">val</span> foreign : string <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <span class="type-var">'b</span>)</span> <a href="index.html#type-fn">fn</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">