lua-users home
lua-l archive

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


On Wed, Dec 30, 2009 at 4:57 AM, David Manura <dm.lua@math2.org> wrote:
> - One alternative to help"math.sqrt" is to support help(math.sqrt).

Not difficult - if passed a function, you do a recursive search on _G
for the function, being of course careful to avoid the inevitable
cycles (_G._G, package.loaded, etc)

I'm also curious why this cannot be all done in plain Lua