On Mon Mar 16 05:01:38 2015, hmbrand wrote:
> $ p6 -e'int.Range.say'
> -9223372036854775808..9223372036854775807
> $ p6 -e'int.Range.max.say'
> 9223372036854775807
> $ p6 -e'Int.Range.say'
> -Inf..Inf
> $ p6 -e'Int.Range.max.say'
> Inf
> $ p6 -e'Num.Range.say'
> No such method 'Range' for invocant of type 'Num'
>   in block <unit> at -e:1
> 
> 
> 
> $ p6 -e'my int $i = int.Range.max; $i.say'
> 9223372036854775807
> $ p6 -e'my Int $i = Int.Range.max; $i.say'
> Type check failed in assignment to '$i'; expected 'Int' but got 'Num'
>   in block <unit> at -e:1
> 
> $ p6 -e'Inf.WHAT.say'
> (Num)
> $ p6 -e'Inf.Int.WHAT.say'
> (Failure)
> 

15:37 < [Coke]> m: Int.Range.say; Num.Range.say;
15:37 <+camelia> rakudo-moar 6a1879: OUTPUT«-Inf..Inf␤-Inf..Inf␤»
15:37 < GLRelia> rakudo-moar a057dd: OUTPUT«(timeout)»
15:38 < [Coke]> ^^ There's another GLR bug.

So, this exists now... but it's broken in GLR.


-- 
Will "Coke" Coleda

Reply via email to