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

Re: First look: Advanced Polymorphism whitepaper

Thread Previous | Thread Next
From:
Daniel Ruoso
Date:
May 2, 2008 15:31
Subject:
Re: First look: Advanced Polymorphism whitepaper
Message ID:
1209748391.6625.40.camel@pitombeira

Sex, 2008-05-02 às 18:55 +0200, TSa escreveu:
> For me, too. But note that we should keep does the ultimate
> type checker that first checks the declared presence of a role,
> then falls back to a declared class inheritance and then falls
> back to a declared emulation. What else should be in this check
> sequence?

You're taking it backwards, it's not the type checker that is aware of
that, but each object's metamodel. The metamodel protocol is just the
"do you 'Dog'?" thing.

daniel


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