4 ms·
If only functional languages with immutable variables had some kind of "unsafe" section where you could actually mutate stuff... Rust approach looks good btw,
by out_of_protocol 4y ago
If only functional languages with immutable variables had some kind of "unsafe" section where you could actually mutate stuff...
Rust approach looks good btw, with "let" making immutable vars and longer "let mut" for mutable variables
- josevalim 4y agoFWIW, F# also has something similar to `let mut`.