On Fri, 2002-08-16 at 19:05, [EMAIL PROTECTED] wrote: > On Fri, 16 August 2002, Luke Palmer wrote: > > > I want superpositions too :). But, what would this mean? > > > > my all(str, int) $foo; > > #... > > That you need some *serious* psychotherapy! ;-) > > Actually, it would mean that $foo can only contain values > whose type is simultaneously C<str> and C<int>. That is, $foo > can only contain something like C<any(1,"str")>.
So, my all(str, int) $foo = $!; would be fine? I'm forgetting what has been said about $! in p6, of course, but there you have it.