lua-users home
lua-l archive

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


> one could write
> 
> local gui, rpr = require('gui', 'rpr')

Try this:

local _require=require
function require(...)
	local a={...}
	for i=1,#a do
		a[i]=_require(a[i])
	end
	return table.unpack(a)
end