develooper Front page | perl.perl6.language | Postings from January 2004

RE: Semantics of vector operations

Thread Previous | Thread Next
From:
Austin Hastings
Date:
January 31, 2004 12:07
Subject:
RE: Semantics of vector operations
Message ID:
ICELKKFHGNOHCNCCCBKFKEONCJAA.Austin_Hastings@Yahoo.com
> -----Original Message-----
> From: Gordon Henriksen [mailto:malichus@mac.com]
> Austin Hastings wrote:
>
> > OTOH, Robin's concern for how to code when you're stuck with 7 bit
> > ascii on the boot console of a Sun box remains valid, and *I* sure
> > would rather have a short name available in a standard way.
>
> Perhaps a solution is a cultural one, that it simply be a point of good
> style for library authors to provide ASCII alternatives in the form of
> multimethods. Then, at least, the alternative name will be pertinent to
> the module.

Agreed. And since the first such situation that P6 learners will encounter
is the built-in « and » operators, or the equally built-in « » quoting
delimiters, we get to be first, providing-a-good-ascii-alternative-wise.

From http://www.unicode.org/charts/PDF/U0080.pdf, we have:

00AB  «    LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
         = LEFT POINTING GUILLEMET

00BB  »    RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
         = RIGHT POINTING GUILLEMET

While quite descriptive, none of those really flows from the tongue.

I believe that we SHOULD accept either of those terms, with or without
hyphens, but not require them for ascii work. I'd much rather see E'<<' and
E'>>' as valid aliases. (Yes, this implies a change to POD, too. But it's a
good change.)

=Austin


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About