# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #66890]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66890 >


<masak> rakudo: say (map -> $a, $b { $a }, 1..5).perl; for 1..5 -> $a,
$b {}    [12:05]
<p6eval> rakudo 10f223: OUTPUT«[1, 3]␤StopIteration␤in Main
(/tmp/2qZBAsxsOE:2)␤»
* masak submits rakudobug

I'd like to take this opportunity to express my strong dislike for the
'StopIteration' error. I'd much rather see the for loops siltently
drop values (as map seems to do above), than map emulating the
irritating behaviour of for. But I guess it's ultimately a question
for p6l.

Reply via email to