lua-users home
lua-l archive

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


On Wednesday 11 October 2006 3:14 am, askok@dnainternet.net wrote:
>      require "module""feature"
>      require "module"{ "feature1", "feature7" }

for multiple features, i'd like this syntax a bit more:

require "module" ("feature1", "feature7")

using your example:

> function a() return function (...) print (...) end end
>  a"hey"("hh")
hh
>  a"hey" "hh"
hh
> a"hey""hh"
hh
> a"hey"("hh","uu")
hh      uu
>  


-- 
Javier

Attachment: pgpIYk9QNPgV2.pgp
Description: PGP signature