[erlang-questions] Basic atom question

David Mercer dmercer@REDACTED
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
To: erlang-questions@REDACTED
Subject: [erlang-questions] Basic atom question


Hello there 

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? 

Best regards 



From: skribent_har@REDACTED
To: erlang-questions@REDACTED
Subject: A small question about macros
Date: Thu, 16 May 2013 06:04:00 +0200

Hi there 

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. 

Best regards 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130516/40938c07/attachment.htm>

More information about the erlang-questions mailing list