note
ikegami
<p>You seem to be operating from the point of view that "It's self-evident that literals should create non-modifiable values." Yet that's currently not the case in 50% of the examples I posted.
<p>«<c>1</c>» in «<c>for (1)</c>» could return a non-modifiable value, but it <em>intentionally</em> returns a modifiable value (in a sense) some of the times.
<p>«<c>1..3</c>» in «<c>for (1..3)</c>» could return non-modifiable values, but it returns modifiable values, and it's <em>intentionally</em> not getting changed because people want literals to return modifiable values.
<p>It's <em>not</em> self-evident that literals should create non-modifiable values.
946488
946676