[perl #125334] min(+'a', +'a').say prints Inf but should produce an error

2016-07-07 Thread Will Coleda via RT
On Mon Jun 08 12:02:55 2015, pmichaud wrote: > On Mon, Jun 08, 2015 at 06:08:33AM -0700, Will Coleda via RT wrote: > > I agree that this should be throwing the same conversion error. > > I disagree to the extent that making min() throw the conversion error seems > to go against the purpose of

Re: [perl #125334] min(+'a', +'a').say prints Inf but should produce an error

2015-06-08 Thread Patrick R. Michaud
On Mon, Jun 08, 2015 at 06:08:33AM -0700, Will Coleda via RT wrote: I agree that this should be throwing the same conversion error. I disagree to the extent that making min() throw the conversion error seems to go against the purpose of designing soft/lazy Failure types into Perl 6 in the first

[perl #125334] min(+'a', +'a').say prints Inf but should produce an error

2015-06-08 Thread Will Coleda via RT
I agree that this should be throwing the same conversion error. Here's probably why it's giving Inf, though: $ perl6 say min() Inf say max() -Inf -- Will Coke Coleda

[perl #125334] min(+'a', +'a').say prints Inf but should produce an error

2015-06-05 Thread via RT
# New Ticket Created by Alex Jakimenko # Please include the string: [perl #125334] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=125334 Code: min(+'a', +'a').say Result: Inf Normally such conversion throws an error: