Re: Set difference using hashes vs array

2017-11-23 Thread ToddAndMargo
On 11/22/2017 08:41 PM, Norman Gaywood wrote: my Set $take1 = (%all (-) %remove) (-) %excludes; What does "Set" do in the above?

Re: Set difference using hashes vs array

2017-11-23 Thread Elizabeth Mattijsen
Will have a look at this in about 12 hours (probably). Meanwhile, don’t let that stop anyone from figuring this out :-) > On 23 Nov 2017, at 05:27, Norman Gaywood wrote: > > Talking to myself :-) > > Seems it has something to do with the values in the hash. If they

Re: Set difference using hashes vs array

2017-11-22 Thread Norman Gaywood
Talking to myself :-) Seems it has something to do with the values in the hash. If they are just True, this works: $ perl6 To exit type 'exit' or '^D' > my %a= :k, :e, :r; my %r= :r; my %e= :e; my Set $s = %a (-) %r (-) %e; set(k) On 23 November 2017 at 16:20, Norman Gaywood