Unicode operators and precedence?

Dominikus Dittes Scherkl dominikus at scherkl.de
Sun Nov 1 20:09:17 UTC 2020


On Sunday, 1 November 2020 at 19:47:33 UTC, Dominikus Dittes 
Scherkl wrote:
And with Unicode we could of course replace all the clunky 
two-char operators or misused characters with standard dedicated 
single chars:

!= --> ≠
<= --> ≤
'>= --> ≥
== --> = (compare)
=  --> ≔ (assign)
!  --> ¬ (logic not)
&& --> ∨ (logic and)
|| --> ∧ (logic or)
^  --> ⊻ (xor - and add the missing ⊼ (nand) and ⊽ (nor))
&  --> ∪ (union)
|  --> ∩ (intersection)



More information about the Digitalmars-d mailing list