[erlang-questions] Basic atom question
Thu May 16 23:27:06 CEST 2013
No. After all, the atoms could have been sent to another process.
If I understand it correctly, atoms defined in modules would be allocated when the module is loaded. All other atoms allocated when first created. Atoms I don’t think are ever garbage collected.
From: erlang-questions-bounces@REDACTED [mailto:erlang-questions-bounces@REDACTED] On Behalf Of Martin Hedberg
Sent: Thursday, May 16, 2013 15:42
Subject: [erlang-questions] Basic atom question
Newbie wan Kenobi here again with a small question. :-) When the system restarts atoms are cleared but
I wonder: Is it enough to restart the process that the atoms were declared in, to clear the memory from it?
Subject: A small question about macros
Date: Thu, 16 May 2013 06:04:00 +0200
Have begun to take my first "baby steps" with Erlang (holding on to books and tutorials).
I read about how to make macros in the language. However I wonder how I do if I want
to have blank spaces in my commands? So I just can write, for example: "repeat 5 times".
Hope you don't see me as a heretic if I want to HyperTalk-ificat Erlang a little bit. :-)
I am very grateful for any help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions