On Mon, Dec 24, 2012 at 09:16:28PM -0800, Tin Y Pang wrote:
> in rakudo 2012.11, "min" is not functioning properly with "Z"
> 
> ./perl6 -e 'my @a = (["0", "-20", "0"], ["0", "-19", "-1"], ["-1",
> "-18", "0"], ["0", "-17", "1"], ["1", "-16", "0"], ["0", "-15", "-1"],
> ["0", "-14", "1"], ["1", "-13", "0"]); say [Zmin] @a'
> 
> gives "-1 -13 -1"
> expect "-1 -20 -1"


Note that "-13" min "-20"  is "-13":

    > say "-13" min "-20"
    -13
    > say -13 min -20
    -20

I'm not sure I'm understanding the example above, but at first glance
it looks to me as though Rakudo is correct here.

Pm

Reply via email to