In the Erlang interactive shell you can bind variables to values. If I would like to clear everything and start from scratch without exiting the session and starting a new one, how do I do that?
And if I just wanted to re-use a single variable, is it possible to re-bind?
Use the built-in functions
f()andf(Var):Shell commands are actually functions in the ‘c’ module:
http://www.erlang.org/doc/man/c.html