supertyping

2006-12-11 Thread TSa
HaloO, I've mentioned the concept of supertyping in several posts but now I want to dedicate a thread to it because it increases the expressive power of Perl 6 if one can form abstractions not only by creating subclasses and subroles but also by going in the other direction. Here are some use

Re: supertyping

2006-12-11 Thread Jonathan Lang
For those of us who don't think in terms compatible with Type Theory, the suggestion is essentially this: instead of going from general to specific, go from specific to general. E.g., for a given relationship ::A.does(::B) or ::A.isa(::B), include a way to start with ::B and then to define ::A