logoalt Hacker News

lizmat • yesterday at 10:44 PM • 1 reply • view on HN

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


Replies

F3nd0 • today at 4:44 AM

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.

➕ show 1 reply