On 4/3/13 9:24 AM, pohl wrote:
I'm particularly fond of Scala's solution to this design challenge:
they took the 'val' declarator from
the ML family  of languages and supplemented it with another
declarator called 'var' with mutable semantics.

val x = ... // immutable binding
var y = ... // mutable binding

This has been discussed several times in the past, with the same reasonable arguments on all sides of the issue. As Graydon said, I think the decision is already made at this point.

Patrick

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to