perl6-internals
[Top] [All Lists]

Re: [svn:parrot-pdd] r30620 - trunk/docs/pdds/draft

To: Bob Rogers <rogers-perl6@rgrjr.dyndns.org>
Subject: Re: [svn:parrot-pdd] r30620 - trunk/docs/pdds/draft
From: Allison Randal <allison@perl.org>
Date: Fri, 29 Aug 2008 16:03:24 +0200
Cc: Moritz Lenz <moritz@casella.verplant.org>, p2 <parrot-porters@perl.org>
Delivered-to: mailing list perl6-all@perl.org
Delivered-to: perl6-all-poster@perl.org
Delivered-to: mailing list perl6-internals@perl.org
Delivered-to: perl6-internals@perl.org
Delivered-to: perlmail-parrot-porters@onion.perl.org
Delivered-to: parrot-porters@perl.org
In-reply-to: <18615.61392.940609.172884@rgrjr.rgrjr.dyndns.org>
List-help: <mailto:perl6-all-help@perl.org>
List-id: <perl6-all.perl.org>
List-id: <perl6-internals.perl.org>
List-post: <mailto:perl6-all@perl.org>
List-subscribe: <mailto:perl6-all-subscribe@perl.org>
List-unsubscribe: <mailto:perl6-all-unsubscribe@perl.org>
Mailing-list: contact perl6-all-help@perl.org; run by ezmlm
References: <20080828160953.46095CB9DD@x12.develooper.com> <48B6CECD.5080903@casella.verplant.org> <48B70710.3090106@perl.org> <18615.20675.763511.473348@rgrjr.rgrjr.dyndns.org> <48B7BF29.5060805@perl.org> <18615.61392.940609.172884@rgrjr.rgrjr.dyndns.org>
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)
Bob Rogers wrote:

So you prefer the plain term "method" for "method that is not a
multimethod"?  That seems prone to confusion.  What do you suggest for
the generic term?

It's not prone to confusion. By definition, a "method" is a invoked on a single invocant (an instance of the class that contains the method).

By "multi" do you mean "multisub" or "multimethod"?  Either way, it
seems there is something missing from your enumeration above.

A multi (that is a MultiSub PMC) can be invoked as either a sub or a method. There is no distinction between a "multisub" and a "multimethod". There are only multis, which are dispatched based on an evaluation of multiple invocants.

Allison


<Prev in Thread] Current Thread [Next in Thread>