Shades of LISP, batman. <tongue in cheek> I can see it now, the '=>' operator will be called cons-ing. And the new keword for accessing a pair will be CAR and CDR. </tongue in cheek> Are the two values of a pair restricted in anyway? All your examples were scalar. What about a plural whatzit or a reference to a plural whatzit? <chaim> >>>>> "PRL" == Perl6 RFC Librarian <[EMAIL PROTECTED]> writes: PRL> =head1 ABSTRACT PRL> This RFC proposes the introduction of a new data type -- the I<pair> -- and PRL> the co-opting of the => operator to act as a pair constructor. Most existing PRL> uses of => would be preserved. PRL> =head1 DESCRIPTION PRL> The first component of a pair would be called its C<key>, and the second, it's PRL> C<value>. It is proposed to either extend the semantics of C<keys> and PRL> C<values> to allow them to operate of pair references, or else introduce PRL> two new built-ins -- C<key> and C<value> -- to access the components of a pair. -- Chaim Frenkel Nonlinear Knowledge, Inc. [EMAIL PROTECTED] +1-718-236-0183
- RFC 84 (v1) Replace => (stringifying comma) with =&... Perl6 RFC Librarian
- Re: RFC 84 (v1) Replace => (stringifying comma... Mike Pastore
- Re: RFC 84 (v1) Replace => (stringifying comma... Jon Ericson
- Re: RFC 84 (v1) Replace => (stringifying comma... Brad Hughes
- Re: RFC 84 (v1) Replace => (stringifying comma... Damian Conway
- Re: RFC 84 (v1) Replace => (stringifying c... Jon Ericson
- Re: RFC 84 (v1) Replace => (stringifyi... Chaim Frenkel
- Re: RFC 84 (v1) Replace => (stringifying c... Nathan Wiger
- Re: RFC 84 (v1) Replace => (stringifyi... John Porter
- Re: RFC 84 (v1) Replace => (stringifying c... John Porter
- Re: RFC 84 (v1) Replace => (stringifying comma... Chaim Frenkel
- Re: RFC 84 (v1) Replace => (stringifying comma... Damian Conway
- Re: RFC 84 (v1) Replace => (stringifying c... Piers Cawley
- Re: RFC 84 (v1) Replace => (stringifyi... Piers Cawley
- Re: RFC 84 (v1) Replace => (string... Ken Fox
- Re: RFC 84 (v1) Replace => (s... Nathan Wiger
- Re: RFC 84 (v1) Replace => (stringifying comma... Glenn Linderman
- Re: RFC 84 (v1) Replace => (stringifying c... Bart Lateur
- Re: RFC 84 (v1) Replace => (stringifyi... Glenn Linderman
- Re: RFC 84 (v1) Replace => (stringifying c... Mark Cogan
- Re: RFC 84 (v1) Replace => (stringifying comma... Damian Conway