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


<masak> rakudo: say [min] 3, 6;
<p6eval> rakudo 3680ac: OUTPUT«3␤»
<mberends> rakudo: say min(3,6)
<p6eval> rakudo 3680ac: OUTPUT«Unable to handle non-closure Ordering
yet␤  in 'Any::min' at line 1561:CORE.setting␤  in 'min' at line
1871:CORE.setting␤  in main program body [...]
<masak> can I pls kill the &min function?
<masak> rakudo: say (3,6).min
<p6eval> rakudo 3680ac: OUTPUT«3␤»
<masak> alternatively, mberends is suggesting killing the first
parameter of the &min function.
* moritz_ thinks we've had that discussion before.
<masak> S32/IO: our multi min( *@values, Ordering :$by )
<masak> how come we're running up against this problem in the first place?
<masak> 3, 6 should end up in @values, no?
* masak dives into Rakudo source
<masak> oh!
<masak> src/core/Any-list.pm: proto sub min($by, *@values) { @values.min($by); }
<masak> Rakudo is not to spec, that's all.
* masak submits rakudobug

Reply via email to