perl6-language  

Re: Do I need "has $.foo;" for accessor-only virtual attributes?

Stevan Little
Fri, 22 Jul 2005 07:30:10 -0700

Brent,

On Jul 22, 2005, at 3:53 AM, Brent 'Dax' Royal-Gordon wrote:
(If not this, I at least would like to see a way to make roles and/or
class extensions optionally merge their namespace with the class
they're being composed into; a simple 'is merged' on the
role/extension's definition might do.)

Actually Roles actually do merge into the class's namespace. This is the key to the flattening aspect of Roles. Although how much of their namespace they bring along with them is still undetermined (sorta).

Stevan