: On 10/23/05, Autrijus Tang <[EMAIL PROTECTED]> wrote: : > In addition to your handy table, the >> and << french quotes, which are used : > quite heavily in Perl 6 for both bracketing and hyper operators, also have : > full width equivalents: : > : > 300A;LEFT DOUBLE ANGLE BRACKET;Ps;0;ON;;;;;Y;OPENING DOUBLE ANGLE BRACKET;;;; : > 300B;RIGHT DOUBLE ANGLE BRACKET;Pe;0;ON;;;;;Y;CLOSING DOUBLE ANGLE BRACKET;;;; : > : > Half width: «» : > Full width: 《》
I think we actually speculated about that identity in the Apocalypse. : > One way to approach it is to make Perl 6 accept both full- and : > half-width variants. : > : > Another way would be to use ASCII fallbacks exclusively in real programs, and : > reserve unicode variants for pretty-printing, the same way that PLT Scheme and : > Haskell recognizes λ in literatures, but actually write "lambda" and : > "\" respectively : > in everyday coding. I think we should enable both approaches. Restricting Unicode characters to literature is wrong, but so is forcing Unicode on someone prematurely. On Sun, Oct 23, 2005 at 07:07:33PM -0400, Rob Kinyon wrote: : Isn't this starting to be the question of why we have the Unicode : operators instead of just functions? Would it be possible to have a : function be infix? At which precedence level? Larry