lua-users home
lua-l archive

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


On Mon, Oct 3, 2011 at 11:43 AM, Cuero Bugot <cbugot@sierrawireless.com> wrote:
> Would not it be plainer to actually not trim the extra returned values unless asked for it with the () operator ?

Oh yes, but make it explicit, e.g:

http://lua-users.org/lists/lua-l/2009-08/msg00242.html

> Note: changing that would be a major incompatibility and would certainly break a lot of existing code. Not sure is this is easily catchable before hand...

That's the problem; better to have an explicit operator.

steve d.