3 ms·
mutable x = y in my opinion should be allowed. After all the new variable is just a copy of old one. Why shouldn't you be able to modify it?
by enedil 4y ago
mutable x = y in my opinion should be allowed. After all the new variable is just a copy of old one. Why shouldn't you be able to modify it?
- _kst_ 4y agoAgreed, just like mutable x = 42 should be allowed.
- compiler-devel 4y agoYes, good point, I retract what I said before. Thanks!