What decides the name of a module?

Roger Price rprice@REDACTED
Thu Jul 10 00:11:34 CEST 2003


On Sun, 6 Jul 2003, Matthias Lang wrote:
>   1> c(rabbit).
>   ** Module name 'roger' does not match file name 'rabbit' **
>   {error,badfile}
> :-)

Hello Matthias, This is exactly what I was thinking of.  I very rarely use
c/1, almost always erlc or compile:file, so I've never seen this message
:-(

I still think it would be helpful if erlc and compile:file as well as c/1
issued the ** Module name... ** message.

Best Regards,
Roger





More information about the erlang-questions mailing list