On Sun Feb 20 08:07:38 2011, moritz wrote:
> On Sun Oct 10 16:19:38 2010, masak wrote:
> > <TimToady> rakudo: ~(64,32,16 ...^ Rat)
> > <TimToady> that ought to work
> > <p6eval> rakudo 668719: OUTPUT«(timeout)»
> > <TimToady> but it doesn't
> 
> FWIW this now terminates, but quite early:
> 
> 17:04 < moritz_> rakudo: say ~(64,32,16 ...^ Rat)
> 17:05 <+p6eval> rakudo 37eafa: OUTPUT«64 32 16␤»
> 17:05 < masak> eh?
> 17:05 < moritz_> it doesn't re-coerce to int
> 17:05 < moritz_> it calculates 8 as 1/2 * 16
> 17:05 < moritz_> which is a Rat
> 
> Seems to be missing a coercion step.
> 
> But type objects now work as stoppers in general.

This raises a spec question over at https://github.com/perl6/specs/issues/47

-- 
Will "Coke" Coleda

Reply via email to