Re: Semantics of vector operations

2004-01-23 Thread Larry Wall
On Fri, Jan 23, 2004 at 07:53:49PM -0800, Jonathan Lang wrote: : Dave Whipp wrote: : > But, presumably, you could write a macro that has a whitespace-eater : > encoded : > somehow. That is, : > : > macro leach() { chomp_trailing_whitespace; return "?" } : > macro reach () { chomp_leading_whitespac

Re: Semantics of vector operations

2004-01-23 Thread Larry Wall
On Fri, Jan 23, 2004 at 06:43:04PM -0800, Dave Whipp wrote: : "Larry Wall" <[EMAIL PROTECTED]> wrote in message : news:[EMAIL PROTECTED] : > That is, suppose you have: : > : > macro leach () { return "ï" } : > macro reach () { return "ï" } : > : > You could unambiguosly write : > : > le

Re: Semantics of vector operations

2004-01-23 Thread Jonathan Lang
Dave Whipp wrote: > But, presumably, you could write a macro that has a whitespace-eater > encoded > somehow. That is, > > macro leach() { chomp_trailing_whitespace; return "»" } > macro reach () { chomp_leading_whitespace; return "«" } > > then the macro magic would expand "leach eq reach" as "»

Re: Semantics of vector operations

2004-01-23 Thread Dave Whipp
"Larry Wall" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > That is, suppose you have: > > macro leach () { return "»" } > macro reach () { return "«" } > > You could unambiguosly write > > leach+reach > > but (assuming spaces not allowed within distributed operators) you

Re: Semantics of vector operations

2004-01-23 Thread Larry Wall
On Fri, Jan 23, 2004 at 05:20:41PM -0700, Doug McNutt wrote: : I have been a lurker since early November. Dan S. suggested I get over : here when I wrote a piece on the summary list describing my feelings : about vector operations in perl 6. My information was based on the : recent O'Reilly book an

Re: Semantics of vector operations

2004-01-23 Thread Larry Wall
On Fri, Jan 23, 2004 at 01:54:21PM -0800, Dave Whipp wrote: : When I see these long squiggles of line noise, I can't help thinking that : English might be a better alternative. Using Larry's terminology from a few : posts ago, we might think of: : : @a \C[leach] + \C[reach] @b : : Not mnemonic

Re: Semantics of vector operations

2004-01-23 Thread Doug McNutt
I have been a lurker since early November. Dan S. suggested I get over here when I wrote a piece on the summary list describing my feelings about vector operations in perl 6. My information was based on the recent O'Reilly book and I had to confess that I have never in my life opened a CVS file.

Re: Semantics of vector operations

2004-01-23 Thread Dave Whipp
When I see these long squiggles of line noise, I can't help thinking that English might be a better alternative. Using Larry's terminology from a few posts ago, we might think of: @a \C[leach] + \C[reach] @b Not mnemonic in a visual sense, but extendable to all sorts of trigraph contexts. Indee

Re: Semantics of vector operations

2004-01-23 Thread Luke Palmer
Larry Wall writes: > On Thu, Jan 22, 2004 at 07:03:26PM -0700, Luke Palmer wrote: > : Larry Wall writes: > : > On the other hand, we've renamed all the > : > other bitwise operators, so maybe we should rename these too: > : > > : > + : > +>bitwi

Re: Semantics of vector operations

2004-01-23 Thread Larry Wall
On Thu, Jan 22, 2004 at 07:03:26PM -0700, Luke Palmer wrote: : Larry Wall writes: : > On the other hand, we've renamed all the : > other bitwise operators, so maybe we should rename these too: : > : > +< bitwise left shift : > +> bitwise right shift : : I could h