[erlang-questions] The -module line

Jonathan Schneider <>
Fri Nov 21 12:36:29 CET 2014


Personally I’d like the restriction that the names are the same to be removed altogether.

Is there a good reason for it ?

Jon


On 21 Nov 2014, at 11:21, Loïc Hoguin <> wrote:

> Hi,
> 
> Something has been bugging me for a very long time now.
> 
> The -module line is mandatory. It also must be the same as the file name minus the extension .erl or compilation fails.




More information about the erlang-questions mailing list