[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Non-uniqueness of module names
- From: Abhijit Nandy <abhijit.nandy@...>
- Date: Fri, 12 Apr 2019 20:26:43 +0530
So why aren't the paths from where the modules are loaded, simply kept in a table mapped to the module name?
> But life could be made easier for the poor programmer by addressing
> two great defects:
> In the Lua standard library, there is no easy way of detecting where
> the module was found. One can repeat all the work using
> package.searchpath to find out where the module should have been
> found, but you can't check whether the module actually loaded was that
What would be like such feature? Do you have something in mind?