> How come last one should be same? Aren't they different types? I'd expect
> `Array[Int] ~~ Positional[Numeric]` to give False
They are different types, but one could logically be considered a "subtype" of
the other (and would be in some programming languages).
E.g. in C#, a class Foo which ta
On Sun, 07 Aug 2016 03:51:27 -0700, lloyd.fo...@gmail.com wrote:
> say Array[Int] ~~ Array[Int]; # True
> say Array[Int] ~~ Positional[Numeric]; # True
> say Positional[Int] ~~ Positional[Numeric]; # True
> say Array[Int] ~~ Array[Numeric]; # False
>
> The last one should be true as well.
How co
On Sun, 07 Aug 2016 03:51:27 -0700, lloyd.fo...@gmail.com wrote:
> say Array[Int] ~~ Array[Int]; # True
> say Array[Int] ~~ Positional[Numeric]; # True
> say Positional[Int] ~~ Positional[Numeric]; # True
> say Array[Int] ~~ Array[Numeric]; # False
>
> The last one should be true as well.
How co
# New Ticket Created by Lloyd Fournier
# Please include the string: [perl #128866]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128866 >
say Array[Int] ~~ Array[Int]; # True
say Array[Int] ~~ Positional[Numeric]; # True
say