[erlang-questions] erlc: module definition requirement

Tuncer Ayaz tuncer.ayaz@REDACTED
Thu Jan 23 17:16:04 CET 2014

Is there a technical reason why a module without a -module(name)
definition should not be accepted by compile:file/2?

As it stands, filename and module definition of a module have to
match, so why not remove the module definition requirement?

I'm only talking about user edited .erl files.

More information about the erlang-questions mailing list