|
Looks pretty thorough, good job! The only thing I saw that might be
worth mentioning is some modules monkey-patch globals, and should only
be run once -- but they export/expose nothing so they return boolean
'true'. You can return anything in a module of course -- the value
becomes referenced from package.loaded.module_name = <return value>.
If a module returns false or nil, I believe it will be loaded from the
file on every require().