lua-users home
lua-l archive

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


2016-07-20 15:09 GMT+02:00 steve donovan <steve.j.donovan@gmail.com>:

> On Wed, Jul 20, 2016 at 2:54 PM, Egor Skriptunoff
> <egor.skriptunoff@gmail.com> wrote:
>> Explicit function calls (for converting or for math operations) are too
>> boring to use.
>
> Ah, but once you start collecting new special operators then
> remembering a few function names becomes easy in comparison.
> Especially when the use of these operators is rather specialized.

Suggestion: make the few special characters we have left
user-configurable. I.e. introduce metamethod names for !x,
x ? y etc even though no native type defines a default meaning
for them.