71104 / lambda

The Lambda Programming Language
MIT License
19 stars 2 forks source link

Remove separate symbols for bitwise operators #73

Closed 71104 closed 8 years ago

71104 commented 8 years ago

There is no reason to keep separate symbols for bitwise and logical boolean operators.

E.g., bitwise AND can be performed using the and keyword.

The separation only makes sense in languages where logical operators have a special behavior for integers, which is not the case for Lambda because they only work with bool.

Use the verbal names for those operators (not, and, or, xor) and make them work for both bool and uint operands.