[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unicode procedure names
From: |
Tirifto |
Subject: |
Unicode procedure names |
Date: |
Fri, 12 Jul 2019 17:59:08 +0200 |
User-agent: |
Evolution 3.32.3 |
Hello all!
I was recently looking into Perl 6 and noticed a very neat feature
about it: Unicode operators! That is, it makes use of some Unicode
symbols to offer alternatives to awkward or verbose ASCII notation.
For instance, ‘>=’ and ‘<=’ may just as well be written as ‘≥’ and
‘≤’, respectively. [1] And ‘∈’ checks whether an item is an element
of a list. [2] [3]
Now, I don't know if this is something you think would be nice to have
baked into Guile, but I really liked the idea, and thought to share it
in the case you would, too (and have't thought of it yet). :)
Regards
// Tirifto
-----------------------------------------------------------------------
1.
https://docs.perl6.org/language/operators#infix_%E2%89%A4
2.
https://docs.perl6.org/language/operators#infix_(elem),_infix_%E2%88%88
3.
And perhaps of other structures? Haven't ever delved into the language.
signature.asc
Description: This is a digitally signed message part
- Unicode procedure names,
Tirifto <=