lua-users home
lua-l archive

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




On Tue, Apr 10, 2012 at 10:50 PM, Miles Bader <miles@gnu.org> wrote:
The real problem with returning multiple values from a module is that
"require" only returns one value, regardless of what the module does...


Oh. There goes my Best Idea. Anyway,in that proposal the dependency was backwards: who would require the second module?

The more I look into it,the more it seems a case of murky thinking from my part. If what I ask makes sense, then it would be natural to just refactor the private bits into a helper module to be required by interested parts, and build from there.

Jorge