lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> One thing I'll note - it seems that it's possible to have multiple
> modules in a single file simply by calling module() multiple times.

More or less. You can *define* multiple modules in a single file, but
then you cannot import them individually.


> I don't think this is a bad thing, but it violates the requirement of
> one module per file.  Perhaps that requirement should be removed?

That is not a requirement, but more a "rule for common usage". As
written later in the proposal, all those rules can be broken if there is
a good reason.

-- Roberto