lua-users home
lua-l archive

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


On Wed, Jun 15, 2011 at 16:33, Renato Maia <maia@inf.puc-rio.br> wrote:
> Check the 'vararg' package [1], which allows you to do thinks like:
>
> require "vararg"
> a=vararg.pack(1,2,3)
> b=vararg.pack(4,5,6)
> c={vararg.concat(a,b)}
> print(table.concat(c, ","))
>
> [1] http://luarocks.org/repositories/rocks/#vararg

This is excellent!

-- Pierre-Yves