lua-users home
lua-l archive

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

Jerome -

On 24 Jul 2006, at 16:42, Jerome Vuarand wrote:

module("foo", package.see{"base", "string", "table"})

You would just have to define that "see" function, it shouldn't be

Hmm. Maybe I am missing your point, but: if there _were_ a table "base" with all the basic functions, as your proposal seems to imply, I'd simply write

 local table = require "table"
 local string = require "string"
 local base = require "base"

and refer to ipairs using 'base.ipairs()'.

Do I miss anything?

- Stefan