lua-users home
lua-l archive

RE: Access From Inside Modules

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


> local string = require "string"
> local table = require "table"
> module(..., package.seebasics) -- as suggested also by Andre
You could write it :
module("foo", package.see{"base", "string", "table"})
You would just have to define that "see" function, it shouldn't be
complicated.

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