What decides the name of a module?

Ingela Anderton ingela@REDACTED
Fri Jul 4 08:47:13 CEST 2003


Matthias Lang wrote:

> The convention is that the module name matches the file name. If you
> want to break that convention, you have to provide your own code
> loading mechanism. 

If you use the Erlang mode for Emacs it would detect this when you try
saving your module and offer to change it so that it follows the
convention.

-- 
/Ingela

Ericsson AB - OTP team

P.S. Please note that in the upcoming release of Erlang/OTP the Erlang
mode will be better and improved, and also it will be documented :)





More information about the erlang-questions mailing list