[erlang-questions] Multiple modules

Joe Armstrong <>
Thu Oct 5 09:30:05 CEST 2006

Modules ... thoughts

Any opinion about and "endmod." declaration:


The file myapp.erl might contain



Compiling this produces


loading myapp.beam loads all the code in foo, bar, ..., this
has several advantages:

    1) distribute only one file
    2) modules in file cannot live a life of their own and become
    3) code loading is faster

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20061005/78b74d93/attachment.html>

More information about the erlang-questions mailing list