Thomas A. Boyer wrote:

Damian, somewhere in the conversation on hyper-ops you switched over from this syntax:
      my @sum = @a «+» @b;
to this syntax:
      my @sum = @a »+« @b;

> Would you care to share your thoughts on why you've gone with inward-pointing guillemets?

Because that's what Larry decided last time this thread arose.
Convex guillemets will be used for word lists:

use strict «vars subs conversions»;

for «Doh Ray Me Far So La Tee» -> $word {
print "$word, %desc{$word}\n";
}

This is a far more naturally parenthetical usage of guillemets than vector ops would be.

And I strongly prefer the concave guillemets for vectorizing, because they highlight the operation, pointing it out in a distinctly "lookie-here" manner.


Damian


Reply via email to