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


<masak``> is there any sense in having grep behave the same way as map
with respect to multiple arguments to the block?
<mberends> grep and map should be as similar as possible, principle of
least surprise
<masak``> rakudo: say (grep { $^a == $^b }, 1, 1, 2, 3, 4, 4).perl
<p6eval> rakudo 8dc189: Not enough positional parameters passed; got 1
but expected 2 [...]
<masak``> so in other words, the above is a bug?
<rjbs> That looks like a bug to me.

Reply via email to