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

Re: How are types related to classes and roles?

Thread Previous | Thread Next
Thomas Sandlaß
February 28, 2005 09:45
Re: How are types related to classes and roles?
Message ID:
HaloO Aaron,

you wrote:
> Um... I think you're thinking of operator overloading, which in Parrot
> actually does use the MMD facility under the hood, but MMD is nominally
> a separate facility. You should glance at the PDDs, as they have far
> more detail than I'm aware of.

You mean the ones in the docs/pdd directory of the Parrot CVS?
There's nothing about MMD.

What I mean is mails from Leo like these from December 2004:

The opcodes for 'callmethod_MMD_3_sig "func"' and 'callmethod_MMD_n "func", n'
are simply not there yet, right? Neither are opcodes for making entries into
the dispatch tables/trees. Does Perl 6 actually need predicate dispatch?
After all we can specify closures and smart matches in the 'where' of multi
method parameter types!

Sorry, if this is the wrong list for discussing these Parrot details.
TSa (Thomas Sandlaß)

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About