ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
Re: supertyping
by TSa other posts by this author
Dec 14 2006 7:13AM messages near this date
Re: supertyping | Re: supertyping
HaloO,

Larry Wall wrote:
>  Or we could say that you can't reopen the Num role; you can only
>  reopen the Num class and mix in the Complex role.  That's where it
>  stands at the moment.

This is not too bad an outcome. One question though: is the
augmentation of the class lexically scoped? Or does a module
that contains the line

    class Num is also does Complex {...}

infect all other uses of the class because the class is
global? BTW, could we make that read

    class Num also does Complex {...}


Regards, TSa.
-- 
Thread:
Jonathan Lang
Jonathan Lang
Smylers
Larry Wall
TSa
TSa
Smylers
Ruud H.G. van Tol
Ruud H.G. van Tol
TSa

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved