$ 6 'subset A of Int; dd OUR::.keys'
("A",).Seq

> On 11 Dec 2019, at 18:57, JJ Merelo <jjmer...@gmail.com> wrote:
> 
> 
> 
> El mié., 11 dic. 2019 a las 18:54, JJ Merelo (<jjmer...@gmail.com>) escribió:
> Subsets follow pretty much the same rules as every other declared thing. 
> Change subset by "variable" or "class", if the answer is true, it's also true 
> for subsets.
> 
> By default, the scope of anything (containers, classes, whatever) is lexical 
> to the scope they are in.
> 
> Sorry, that's not true. Classes have package scope, not lexical scope, by 
> default; that is, they are "our": https://docs.perl6.org/language/classtut
> 
> Subsets... well I don't know. I would say they are package scoped by default, 
> same as classes.
> 
> JJ

Reply via email to