On Wed, Nov 26, 2008 at 06:21:22PM -0800, Larry Wall wrote:
> On Wed, Nov 26, 2008 at 08:54:50AM +0100, Moritz Lenz wrote:
> : Patrick R. Michaud wrote:
> : > Currently Rakudo is treating [EMAIL PROTECTED] as though it's
> : > prefix:<^> on a List, which S03 says
> : > for ^(3,3) { ... } # (0,0)(0,1)(0,2)(1,0)(1,1)(1,2)(2,0)(2,1)(2,2)
> :
> : I see how the specced makes sense for a List of Ints, but not for any
> : other list - any ideas from the design team?
>
> My guess is that the list overloading will simply vanish into thin air,
> and you'll have to say something like
>
> ^«(3,3)
>
> to get the current Parrot meaning, and
>
> [X] ^«(3,3)
>
> or
>
> ^3 X ^3
>
> to get the specced list meaning. But other viewpoints are welcome...
+1 to the idea that [EMAIL PROTECTED] is the same as [EMAIL PROTECTED] . Now
implemented
as such in Rakudo, and unfudged the corresponding tests.
Closing ticket -- thanks!
Pm