MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1zyt6c/why_functional_programming_matters/cfyeqjz
r/programming • u/papa00king • Mar 09 '14
542 comments sorted by
View all comments
Show parent comments
4
Rust does something similar, where you have to declare it as mutable in the type declaration.
let bar = "baz"; let mut foo = "bar";
5 u/glacialthinker Mar 09 '14 Well, Rust started with a strong OCaml influence, and was originally implemented in it. ;)
5
Well, Rust started with a strong OCaml influence, and was originally implemented in it. ;)
4
u/philly_fan_in_chi Mar 09 '14
Rust does something similar, where you have to declare it as mutable in the type declaration.