[perl #66640] [BUG] minmax operator not working yet

2009-06-30 Thread Patrick R. Michaud via RT
The infix:minmax operator has now been added in Rakudo a4978b9, with a test added to t/spec/S03-operator/misc.t in r27322. Closing ticket, Pm

Re: [perl #66640] [BUG] minmax operator not working yet

2009-06-28 Thread Richard Hainsworth
Patrick R. Michaud via RT wrote: On Fri, Jun 26, 2009 at 08:37:20AM -0700, Richard Hainsworth via RT wrote: my @a=1,2,3,4; my @b=9,8,7,1; say (@a minmax @b).perl While rakudo doesn't implement infix:minmax yet, the operator is constrained to having two elements on either side, so

Re: [perl #66640] [BUG] minmax operator not working yet

2009-06-27 Thread Patrick R. Michaud
On Fri, Jun 26, 2009 at 08:37:20AM -0700, Richard Hainsworth via RT wrote: my @a=1,2,3,4; my @b=9,8,7,1; say (@a minmax @b).perl While rakudo doesn't implement infix:minmax yet, the operator is constrained to having two elements on either side, so the above code wouldn't work anyway.

Re: [perl #66640] [BUG] minmax operator not working yet

2009-06-26 Thread Richard Hainsworth
I dont quite understand, see below: Patrick R. Michaud via RT wrote: On Tue Jun 16 10:14:11 2009, richardh wrote: my @a=1,2,3,4; my @b=9,8,7,1; say (@a minmax @b).perl While rakudo doesn't implement infix:minmax yet, the operator is constrained to having two elements on either side,

[perl #66640] [BUG] minmax operator not working yet

2009-06-25 Thread Patrick R. Michaud via RT
On Tue Jun 16 10:14:11 2009, richardh wrote: my @a=1,2,3,4; my @b=9,8,7,1; say (@a minmax @b).perl While rakudo doesn't implement infix:minmax yet, the operator is constrained to having two elements on either side, so the above code wouldn't work anyway. It would be good to have some tests for

[perl #66640] [BUG] minmax operator not working yet

2009-06-16 Thread via RT
# New Ticket Created by Richard Hainsworth # Please include the string: [perl #66640] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66640 my @a=1,2,3,4; my @b=9,8,7,1; say (@a minmax @b).perl yields an error