lua-users home
lua-l archive

Re: tostring(): vararg in, vararg out?

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


2011年6月30日 Pierre-Yves Gérardy <pygy79@gmail.com>:
> table.concat{tostring(objects,...)}
Convenient, yes, but why just tostring? A useful idiom would be this:
table.concat(mapvar(tostring,...))
where res1,... = mapvar(fun,val1,...)
Easy to do efficiently in C (using Lua requires packing and unpacking)
(My memory fails me, but there is an extension that allows this kind of thing)
steve d.

AltStyle によって変換されたページ (->オリジナル) /