Re: Question about pairs

2005-02-22 Thread Autrijus Tang
On Tue, Feb 22, 2005 at 12:20:35AM -0800, Larry Wall wrote: That seems right to me. Or at least right associative. :-) In any event, right associativity seems more useful in this case. Okay, implemented as such. Of the non-chaining binaries in S06: = but does cmp = .. ^.. ..^ ^..^

Question about pairs

2005-02-21 Thread Steve Peters
Sorry if this email is nearly duplicated, but I may have had the wrong email address on the firt email I sent. While looking into Perl 6 and pugs, I noticed a problem with Pairs pretty quickly. Although pairs look like a very useful data type, I could find in the Perl 6 and Parrot Essentials

Re: Question about pairs

2005-02-21 Thread Damian Conway
Steve Peters wrote: While looking into Perl 6 and pugs, I noticed a problem with Pairs pretty quickly. Although pairs look like a very useful data type, I could find in the Perl 6 and Parrot Essentials or any Apocolypse or other document on how to get the key or value from a pair. I was

Re: Question about pairs

2005-02-21 Thread Autrijus Tang
On Mon, Feb 21, 2005 at 09:33:33PM +1100, Damian Conway wrote: In Perl 6, C = is a fully-fledged anonymous object constructor -- like C[...] and C{...}. The objects it constructs are called pairs and they consist of a key (the left operand of the C = ), and a value By the

Re: Question about pairs

2005-02-21 Thread Steve Peters
On Mon, Feb 21, 2005 at 09:33:33PM +1100, Damian Conway wrote: Steve Peters wrote: While looking into Perl 6 and pugs, I noticed a problem with Pairs pretty quickly. Although pairs look like a very useful data type, I could find in the Perl 6 and Parrot Essentials or any Apocolypse or

Re: Question about pairs

2005-02-21 Thread Juerd
Steve Peters skribis 2005-02-21 8:08 (-0600): Great! I figured I was just missing something. As a followup, is there someplace where the raw Pod for the Apocalypses, Exegeses, and Synopses live. The Pod versions would be much easier to search in bulk than going through the web pages one

Re: Question about pairs

2005-02-21 Thread Larry Wall
On Mon, Feb 21, 2005 at 07:50:12PM +0800, Autrijus Tang wrote: : On Mon, Feb 21, 2005 at 09:33:33PM +1100, Damian Conway wrote: : In Perl 6, C = is a fully-fledged anonymous object constructor -- : like C[...] and C{...}. The objects it constructs are called pairs : and they

Re: Question about pairs

2005-02-21 Thread Larry Wall
On Mon, Feb 21, 2005 at 02:07:10PM +, osfameron wrote: : In Perl 6, C = is a fully-fledged anonymous object constructor -- : like C[...] and C{...}. The objects it constructs are called : pairs : and they consist of a key (the left operand of the C = ), and a : value : (the

Re: Question about pairs

2005-02-21 Thread Steve Peters
On Mon, Feb 21, 2005 at 11:32:16AM -0800, Larry Wall wrote: On Mon, Feb 21, 2005 at 02:07:10PM +, osfameron wrote: : In Perl 6, C = is a fully-fledged anonymous object constructor -- : like C[...] and C{...}. The objects it constructs are called : pairs : and they consist of