lua-users home
lua-l archive

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

Peter Shook wrote:

Could you please clean it up? There is irrelevant stuff for hex-num-handling.

PS/ But You've found an interesting syntax. I have patched my source to handle

from some.pkg import name_0, ..., name_n

which is semantically equivalent to

local name_0, ..., name_n
 local pkg = require "some.pkg"
 name_0, ..., name_n = pkg.name_0, ..., pkg.name_n

 Antero Vipunen.