Re:A little thing to love about Perl 6 and COBOL
by 0x0 on Wednesday February 04, 2015 @07:13PM
(#9000971)
What is the "unicode tapeworm operator"? Google didn't yield much more than this post?
[ Parent
| on HN ]
Re:A little thing to love about Perl 6 and COBOL
by raldi on Wednesday February 04, 2015 @07:28PM
(#9001017)
You know the "ç" character? Well, that thing on the bottom is called a cedilla, and in Unicode you can attach a cedilla to anything. Şȩȩ?̧
You can even attach it to the 💩 character. The result looks like this: 💩̧
In Perl 6, you can make anything into an operator. For example, you can write a summation function and assign it to the Σ operator.
The "unicode tapeworm operator" puts these two concepts together.
Re:A little thing to love about Perl 6 and COBOL
by jerf on Wednesday February 04, 2015 @07:35PM
(#9001044)
It is the Unicode Pile of Poo [1] with a Combining Cedilla [2]. In Perl 6, a language that makes Haskell look shy with its operators, you can presumably make this into an operator. You definitely can with the pile of poo itself [3], but I don't know if throwing a combining character in there does anything bad since I've never done it myself.
[1]: http://www.fileformat.info/info/unicode/char/1f4a9/index.htm
[2]: http://www.fileformat.info/info/unicode/char/327/index.htm
[3]: http://blog.mattoates.co.uk/2012/02/perl6-and-fun-with-unico...
Re:A little thing to love about Perl 6 and COBOL
by samatman on Wednesday February 04, 2015 @07:28PM
(#9001021)
We've been played:
http://www.fileformat.info/info/unicode/char/1F4A9/index.htm
Re:A little thing to love about Perl 6 and COBOL
by i_cannot_hack on Wednesday February 04, 2015 @07:25PM
(#9001004)
Yeah, I would like to know as well. I tried googling, but got the same results as you.
Re:A little thing to love about Perl 6 and COBOL
by patrickmay on Wednesday February 04, 2015 @07:30PM
(#9001029)
Try this:
perl -C -E 'say "\x{1F4A9}\x{0327}"'