Comment by F3nd0
5 days ago
I wish more languages other than Raku did this. But no, not equal is written as surprised equal. And if something ought to be less or equal, you have to write a fat arrow pointing left. :/
5 days ago
I wish more languages other than Raku did this. But no, not equal is written as surprised equal. And if something ought to be less or equal, you have to write a fat arrow pointing left. :/
Not true: you can use the unicode equivalent as well:
say 42 ≤ 666; # True
say 42 ≠ 666; # True
say 42 ≥ 666; # False
For a full list, see https://docs.raku.org/language/unicode_ascii#Other_acceptabl...
Yes, I was pointing to Raku as the one exception that does have Unicode operators. Other languages (that I know of) unfortunately don’t support them out of the box.
Oops, should read better, thanks for the nudge!