The other thing I forgot to mention is Erlang's pure functional foundation. Other than the built-in "ETS", which is like a tabular data store, and the process dictionary, which was a mistake in the design of Erlang, your "data structures" cannot be modified.
You must make full copies of your...