s="code-block">
</div></div><div class="cell"><div class="prose-block"><p>Notice how the non-determinism is clearly signalled by the presence of the key in the type signature. Also notice how we have made the key the final input parameter. This is because of currying. We can call the function directly:</p>
</div></div><div class="cell"><div class="code-block">rexp(10<span class="symbol">.</span>0)(k5)
</div><div class="result-block">0.09440161</div></div><div class="cell"><div class="code-block">
</div></di