On Thu, Dec 11, 2003 at 02:01:17PM -0800, Michael Lazzaro wrote:
: So C<as> would be for casting, not coercion, right?
: 
: Suppose you have a class Foo, such that:
: 
:   class Foo does (Bar, Baz) {
:       ...
:   }
: 
: ... or however that looks.  May I then presume that
: 
:     $foo.Bar.zap        # ($foo.as(Bar)).zap)
: 
: calls the method C<zap> of role C<Bar>, with $foo as the invocant?

Seems like that would be the case.

Larry

Reply via email to