lua-users home
lua-l archive

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


On Wed, Jun 10, 2009 at 2:40 PM, Bulat
Ziganshin<bulat.ziganshin@gmail.com> wrote:
> table = table1 .. table2
>
> but the next question will be - does we concat on pairs or ipairs?
> pitting both arrays and hashes to the same datatype strikes us here

Well, seen as sequences, it would be on ipairs. But it would be
confusing if this happened for all tables, and unnecessary, since it's
so simple to overload __concat appropriately.