[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Non-uniqueness of module names
- From: Sean Conner <sean@...>
- Date: Fri, 12 Apr 2019 16:04:38 -0400
It was thus said that the Great Dirk Laurie once stated:
> Op Vr. 12 Apr. 2019 om 21:38 het Sean Conner <email@example.com> geskryf:
> > It was thus said that the Great Abhijit Nandy once stated:
> > > So why aren't the paths from where the modules are loaded, simply kept in a
> > > table mapped to the module name?
> > Because not all Lua modules have a path.
> All modules loaded by 'require' and not found in package.loaded have a
> path. These are the ones of interest in situations where there may be
> uncertainty as to where the package was found.
Except for those in package.preload.
-spc (Which was the point of the email you replied to ... )