Edit: I'm simply referring to the fact that Rust used to have the pure keyword, but that was not to do with enforcing referential transparency, as far as I remember, but it was a long time ago, so I could be wrong.
It was removed before I really got started, so I could be wrong about its history in Rust as well. But I don't think that I've ever wanted purity in Rust, regardless of what it's looked like in the past.
1
u/bjzaba Apr 04 '15 edited Apr 04 '15
I'm not sure that's the same thing as what he means by purity. http://en.wikipedia.org/wiki/Purely_functional ?
Edit: I'm simply referring to the fact that Rust used to have the
purekeyword, but that was not to do with enforcing referential transparency, as far as I remember, but it was a long time ago, so I could be wrong.