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
|