Hi, On 03/19/2014 12:45 AM, Darren Duncan wrote:
Damian, Moritz, etc,It seems to me that the basic problem here is that the vertical bar | has 2 different meanings (outside rules) depending on context. When used with type names it produces a union type, while with normal values such as integer literals it produces a junction value.
No. It's always a Junction. Perl 6 has no union types. Cheers, Moritz