lua-users home
lua-l archive

Re: RFC: A new name for functions in package.loaders

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


Jérôme Vuarand writes:
> It would be nice to replace package.loaders with package.searchers in
> a future version, or eventually have both point to the same table for
> backward compatibility.
I've come across this inconsistency too when writing ModuleExecutionProposal
[1]. It doesn't help that package.loaders is an array of searchers rather than
loaders. Python has a similar type of mechanism [2].
[1] http://lua-users.org/wiki/ModuleExecutionProposal
[2] http://www.python.org/dev/peps/pep-0302/

AltStyle によって変換されたページ (->オリジナル) /