develooper Front page | perl.perl6.language | Postings from August 2005

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

Thread Previous | Thread Next
From:
TSa
Date:
August 10, 2005 13:06
Subject:
Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)
Message ID:
42FA5E26.5010504@orthogon.com
HaloO,

Larry Wall wrote:
> It might be a mistake to call these isa relationships though.  I really
> only care about
> 
>     Package does Object.
>     Module does Package.
>     Role does Module.
>     Class does Role.

OK, I've added that and the Set type in my little type lattice.
With your Object still spelled ::Any, though. What about Grammar?
Where does that find its place? Currently I have put it parallel
to Class, that is now below Role.

Hmm, is anyone interested in this graph of mine at all?


> Foo is the name of a potentiality.  It's the name of anything you can
> construct using the Foo package, the Foo undefined value, and the Foo
> metaobject (if any).

That sounds very typish. Foo as a type instanciator---great!


> I guess a class would be kind of like the spotlight that comes up
> on one of the stage entrances in anticipation of an actor being
> instantiated there.  :-)

"Scotty, beam me up" comes to mind...
-- 
$TSa.greeting := "HaloO"; # mind the echo!

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