perl6-internals
[Top] [All Lists]

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

To: Allison Randal <allison@perl.org>
Subject: Re: [svn:parrot-pdd] r30620 - trunk/docs/pdds/draft
From: Bob Rogers <rogers-perl6@rgrjr.dyndns.org>
Date: Fri, 29 Aug 2008 22:41:53 -0400
Cc: 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: <48B801AC.8050206@perl.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> <48B801AC.8050206@perl.org>
   From: Allison Randal <allison@perl.org>
   Date: Fri, 29 Aug 2008 16:03:24 +0200

   Bob Rogers wrote:

   > 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

My sense of the usage on this list is that "multisub" means a MultiSub
PMC and a "multimethod" is what you add to the MultiSub when you define
a sub with the :multi keyword.  Am I the only one who finds this a
useful distinction?

                                        -- Bob


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