lua-users home
lua-l archive

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


>By the way, I can imagine adding some syntatic sugar for a namespace 
>support which handles the common case used below.

The idea is to have a library of functions for the common cases, modules being
one of them.  Note that "globals" can take a function or "level" as an optional
first argument, so you can write functions that call "globals" to affect 
someone else's global table (typically the original caller).
--lhf