[perl #127879] [BUG] map subroutine ignores the sequence in the specific case

2016-08-09 Thread Larry Wall via RT
The unwanted() routine needed to add an explicit sink to certain methods found in a block-final Want node. (Method calls for dispatch:<.=> and Pair.new are exempt, however. In the case of .=, it is 'nosink' because it's essentially going to cause a side effect anyway, and doing it twice tends

[perl #127879] [BUG] map subroutine ignores the sequence in the specific case

2016-07-21 Thread Zoffix Znet via RT
Re-opening per TimToady's comments: http://irclog.perlgeek.de/perl6/2016-07-21#i_12881470 The map de-lazifies when sunk, but in this case the for's sinking doesn't seem to propagate to the map. This, for example, prints all the values: m: for ^3 { ^10 .map: *.say; Nil }; say 42; -- Cheers,

[perl #127879] [BUG] map subroutine ignores the sequence in the specific case

2016-07-20 Thread Zoffix Znet via RT
I'm going to close this, since the original report was ruled as not a bug. The lazines of such constructs has now also been documented in Traps. -- Cheers, ZZ | https://twitter.com/zoffix

Re: [perl #127879] [BUG] map subroutine ignores the sequence in the specific case

2016-04-13 Thread Elizabeth Mattijsen via RT
> On 11 Apr 2016, at 15:19, Itsuki Toyota (via RT) > wrote: > > # New Ticket Created by Itsuki Toyota > # Please include the string: [perl #127879] > # in the subject line of all future correspondence about this issue. > #

Re: [perl #127879] [BUG] map subroutine ignores the sequence in the specific case

2016-04-13 Thread Elizabeth Mattijsen
> On 11 Apr 2016, at 15:19, Itsuki Toyota (via RT) > wrote: > > # New Ticket Created by Itsuki Toyota > # Please include the string: [perl #127879] > # in the subject line of all future correspondence about this issue. > #

[perl #127879] [BUG] map subroutine ignores the sequence in the specific case

2016-04-12 Thread via RT
# New Ticket Created by Itsuki Toyota # Please include the string: [perl #127879] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127879 > See the following results. $ echo "h o g e" | perl6 -e 'for $*IN.lines -> $line {