Deletion of members by mixin

2005-04-26 Thread Aaron Sherman
On Tue, 2005-04-26 at 09:58, Abhijit Mahabal wrote: On Tue, 26 Apr 2005, Aaron Sherman wrote: It also might be useful for roles to be able to delete members and methods from a class like so: role foo { has $.x; has not $.y; } But that brings up

Re: Deletion of members by mixin

2005-04-26 Thread Aaron Sherman
On Tue, 2005-04-26 at 10:49, Aaron Sherman wrote: Quoting S12: A class's method definition hides any role definition of the same name, so role methods are second-class citizens. On the other hand, role methods are still part of the class itself, so they hide

Re: Deletion of members by mixin

2005-04-26 Thread Abhijit Mahabal
On Tue, 26 Apr 2005, Aaron Sherman wrote: On Tue, 2005-04-26 at 09:58, Abhijit Mahabal wrote: On Tue, 26 Apr 2005, Aaron Sherman wrote: It also might be useful for roles to be able to delete members and methods from a class like so: role foo { has $.x; has

Re: Deletion of members by mixin

2005-04-26 Thread Aaron Sherman
On Tue, 2005-04-26 at 12:44, Abhijit Mahabal wrote: On Tue, 26 Apr 2005, Aaron Sherman wrote: So, as you can see, in the case of mixins, the hypothetical: role z { has not mymeth; } Sorry, my bad. I wandered sideways into talking about methods. has, of course, only