[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: package.searcher modification for lua modules
- From: Hisham <h@...>
- Date: Tue, 22 Sep 2015 12:13:51 -0300
On 22 September 2015 at 05:00, Sean Conner <firstname.lastname@example.org> wrote:
> Why does everybody assume "org" is the "main" module when it's not? It's
> not "org" with "conman.syslog" as a submodule, it's "org.conman.syslog".
> The first two levels, "org.conman" just namespace my modules.
> Geeze, I might have to make "org.flummux.syslog" just to prove the point!
> -spc (I must be the odd-man out ... )
Well, I am with you: note that a certain Lua project has a bunch of
modules with names such as "luarocks.fetch", "luarocks.fs.unix.tools",
and so on, and there is no main module called "luarocks".
-- Hisham (let's make some T-shirts "namespacing is not a crime")