 created is
<code class="literal">lambda x.(x = 2, x + 1)</code> rather than
<code class="literal">lambda x.(x = 2, x + i)</code>.
      
</p>
<p>

As said, this is the default behavior for which there are exceptions.
The exact rules are as follows:

</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
<p>

The programmer can control the storing mechanism with <code class="literal">ref</code> 
and <code class="literal">cref</code> wrappers <a class="xref" href="../lambd