[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Symmetry between language and C API (Was: (not) handling new programming idioms with grace
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 23 Jul 2018 06:55:40 -0300
> One place where the symmetry currently is broken is concatenation.
>
> The C API function lua_concat respects metamethods, the table.concat
> function does not.
The fair comparison is lua_concat vs the concatenation operator: both
respect metamethods.