[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Inconsistency regarding the packagemodel, call for updates of the reference manual.
- From: Stefan Sandberg <keffo.sandberg@...>
- Date: Thu, 17 May 2007 23:37:43 +0200
Well, depends on what you mean by "preloaded", there's also
Norman Ramsey wrote:
Looking at the source, it does seem that if I want to provide some
sort of precompiled or preloaded modules, I could simply write my own
specialized package loader and then do
table.insert(package.loaders, 1, myloader)
where 'myloader' returns a function on successful load, string on
error, and nil otherwise. Then everything would be great, right?