Re: subset problem

2016-09-17 Thread MT
Hi, thanks for all your ideas, I have used the enum before but turned to Map for some reason, don't know why (getting old I think (hopefully)). But still, should I open a ticket for the Map/subset thing? Btw the following has the same problem; > my Hash $h = {a=>1,b=>2} {a => 1, b => 2} >

Re: Killer Features of Perl 6

2016-09-17 Thread Tony Edwardson
Hi Kaare It went well thanks and was well received. My brief slides can be seen here As you will see, I concluded that there is lots of good new stuff in Perl6 most of which fall in to the 'nice to have' category rather than Killer features

Re: subset problem

2016-09-17 Thread yary
On Sat, Sep 17, 2016 at 4:21 AM, MT wrote: > Btw the following has the same problem; > > > my Hash $h = {a=>1,b=>2} > {a => 1, b => 2} > > $h:exists > True > > subset mh of Str where $h{$_}:exists > (mh) > > my mh $x = 'b' > Type check failed in assignment to $x; expected mh