develooper Front page | perl.perl6.language | Postings from May 2008

Re: "All classes imply the existence of a role of the same name."

Thread Previous | Thread Next
From:
John M. Dlugosz
Date:
May 2, 2008 16:08
Subject:
Re: "All classes imply the existence of a role of the same name."
Message ID:
11857-03704@sneakemail.com
chromatic chromatic-at-wgz.org |Perl 6| wrote:
> http://www.perlfoundation.org/perl6/index.cgi?perl_6_people
>
> I could edit it into a Synopsis if you really want.
>
> -- c
>
>   

Or just explain the reasoning that's missing now.

Why is there any difference in declaring classes and roles if a class 
can be used as the target of either 'is' or 'does'?

If you check in changes to S12, the same section talks about ::?CLASS of 
a role.  At the very least, that is a bad example, since recent 
discussion is that ::?CLASS is not virtual.

I'd appreciate it if you went over my detailed treatment of role 
composition algorithm and realization included in specdoc 
(http://www.dlugosz.com/Perl6/) section 16. 

--John

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About