f().

06/05/2009

When you are working with erlang shell you will use much variables and sometimes the fact you can’t change a value force you to choose funny names.

There is a way to flush all variables in erlang shell, this way every variable will be unbound and you can re-utilize its name πŸ™‚

Simply do f(). in the shell and all variables will be flushed πŸ™‚

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: