On 07/08/18 08:58, Steven D'Aprano wrote:
Request for comments -- proposal to allow custom binary operators.
[snip]
(1) This proposal requires operators to be legal identifiers,
such as "XOR" or "spam", not punctuation like % and
absolutely not Unicode symbols like ∉
Probably wise.
On Tue, 7 Aug 2018 at 09:03, Steven D'Aprano
wrote:
> I'll looking for comments on custom binary operators: would it be useful,
> if so, what use-cases do you have?
I've never found a need for custom binary operators.
I can imagine some *theoretical* cases where they might be useful (but
no act
Steven D'Aprano :
> (1) This proposal requires operators to be legal identifiers,
> such as "XOR" or "spam", not punctuation like % and
> absolutely not Unicode symbols like ∉
Oh, that's a let-down. Operator symbols get their expressive value from
visual conciseness:
life←{↑1 ⍵∨.∧3 4
Request for comments -- proposal to allow custom binary operators.
I'll looking for comments on custom binary operators: would it be useful,
if so, what use-cases do you have?
The most obvious and often-requested use-case would be for a form of
logical operator (AND, OR, XOR) that is distinct f