> And I don't think erlang has a shared mutable states.
Arguably (well, of you ignore the process dictionary, which everyone seems to) Erlang lacks local mutable state, but has shared mutable state through actors.
I feel like this whole thread could stand to have people more clearly define the way they are using the term. I don't know of any "immutable" system that literally never changes or something. If Erlang is "mutable" in t sense, what system isn't?
I've seen such ideas tossed around, but I don't think I've ever seen an implementation.
I've seen such ideas tossed around, but I don't think I've ever seen an implementation.