logoalt Hacker News

F3nd0 • yesterday at 5:13 PM • 2 replies • view on HN

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. :/


Replies

lizmat • yesterday at 10:44 PM

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...