lua-users home
lua-l archive

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

On 15/08/2019 08:25, Oliver wrote:
> On 15.08.19 08:59, Michal Kottman wrote:
>> See "Compound Assignment Operators (5.2)"
>> in to try it out.
> These patche demonstrate that it would be possible to have += operator in lua
> and that there are others also needing this.

The "RFC: "in place" return from imperative function calls" thread had
an idea that could handle the += requirement and much more:

Like Sean there, I'm torn between the handiness of the suggested syntax
sugar and worried about turning the language into an obtuse mess of symbols.