RE: Access From Inside Modules
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: RE: Access From Inside Modules
- From: "Jerome Vuarand" <jerome.vuarand@...>
- Date: 2006年7月24日 10:42:20 -0400
> 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.