Mark J. Reed wrote:
> Per S03, the fact that Z flattens is a bug, one that I submitted as
> such.  Am I reading something wrong or is the spec out of date?  Don't
> emulate Z's behavior for Z, if it's incorrect.

The fact that list context doesn't flatten parcels is wrong - so
whatever Rakudo's infix:<Z> does is wrong.

> On Thursday, April 1, 2010, Carl Mäsak <[email protected]> wrote:
>> # New Ticket Created by  "Carl Mäsak"
>> # Please include the string:  [perl #73948]
>> # in the subject line of all future correspondence about this issue.
>> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73948 >
>>
>>
>> <moritz_> is Z, the same as Z (as an infix operator)?
>> <jnthn> Think so.
>> <moritz_> rakudo: say <a b c> Z, <1 2 3>
>> <p6eval> rakudo 0dcfc6: OUTPUT«a 1b 2c 3␤»
>> <jnthn> rakudo: say <a b c> Z <1 2 3>
>> <p6eval> rakudo 0dcfc6: OUTPUT«a1b2c3␤»
>> <moritz_> rakudo: say (<a b c> Z, <1 2 3>).perl
>> <p6eval> rakudo 0dcfc6: OUTPUT«(("a", "1"), ("b", "2"), ("c", "3"))␤»
>> * masak smells a bug
>> <moritz_> well, I think the parcels should flatten in list context
>> <colomon> rakudo: say (<a b c> Z <1 2 3>).perl
>> <p6eval> rakudo 0dcfc6: OUTPUT«("a", "1", "b", "2", "c", "3")␤»
>> <jnthn> aye
>> <colomon> I think we still have flattening issues...
>> <jnthn> EOUTOFSTEAMROLLERS
>> * masak submits rakudobug
>>
> 

Reply via email to