[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Operator precedence and unary minus
- From: Dirk Laurie <dirk.laurie@...>
- Date: Mon, 21 May 2018 23:45:29 +0200
2018-05-21 22:47 GMT+02:00 Egor Skriptunoff <firstname.lastname@example.org>:
> That's why in Lua we have an unpleasant surprise:
> - a%m - b%n ~= - b%n - a%m
> It's looks very weird.
> That should be an equality as in all other programming languages.
All? Let's try APL.
a←10 ⋄ b←20 ⋄ m←3 ⋄ n←4