[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: package proposal
- From: Mark Hamburg <mhamburg@...>
- Date: Thu, 06 Jan 2005 10:08:34 -0800
on 9/17/04 9:49 AM, Roberto Ierusalimschy at firstname.lastname@example.org wrote:
> * It is expected that a module "mod" will put all its stuff in a
> global table "mod". Moreover, it will arrange for the
> call <<require"mod">> to return that table, so that users can
> local xl = require"mod"
> and use local xl to access the module.
I'm looking more closely at the package proposal and how it relates to what
we've already built. Is there a reason to add modules to the global
namespace? The reason I ask is that it strikes me as risky with respect to
code accidentally depending on something else having loaded the module.