[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: More about packaging (hopefully not too long)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 08 Jun 2004 13:40:31 -0300
> On the whole, I think adding one line to
> the beginning and two lines to the end is not so difficult:
> return function(module)
> -- ...
> return module
> end
Just a remark: with the new scheme for varargs, main chunks will be able
to get its arguments through `...'. So you simply write
local module = ...
at the beginning of the module. (BTW, why do you need to return `module',
if it came from the outside?)
-- Roberto