3 ms·
The rationale for "mutable" is similar to the one for interior mutability in Rust. It's actually really hard to define what it means for something to be "consta
by zozbot234 5y ago
The rationale for "mutable" is similar to the one for interior mutability in Rust. It's actually really hard to define what it means for something to be "constant" in a systems language, and that's why Rust did not consider deeper sorts of immutability or functional purity.