Re: method hiding (or not) in derived classes

2008-04-21 Thread TSa
HaloO, John M. Dlugosz wrote: Perl 6 has a concept of a candidate list. The candidate list are those that could handle the call, typically inherited methods and multi variations. Candidate set would be a better term. It is a subset of all long names of a multi in a lexical scope. It seems

Re: method hiding (or not) in derived classes

2008-04-21 Thread John M. Dlugosz
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote: Candidate set would be a better term. It is a subset of all long names of a multi in a lexical scope. List, not set, because it is ordered. nextsame/nextwith/etc. are described as invoking the next candidate on the list. Therefore, there is

Re: method hiding (or not) in derived classes

2008-04-21 Thread Larry Wall
On Sat, Apr 19, 2008 at 08:00:07AM -, John M. Dlugosz wrote: : Perl 6 has a concept of a candidate list. The candidate list are those that could handle the call, typically inherited methods and multi variations. : : It seems that multi variations, at least with respect to the semicolon

Re: method hiding (or not) in derived classes

2008-04-21 Thread TSa
HaloO, John M. Dlugosz wrote: TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote: Candidate set would be a better term. It is a subset of all long names of a multi in a lexical scope. List, not set, because it is ordered. nextsame/nextwith/etc. are described as invoking the next candidate on

method hiding (or not) in derived classes

2008-04-19 Thread John M. Dlugosz
Perl 6 has a concept of a candidate list. The candidate list are those that could handle the call, typically inherited methods and multi variations. It seems that multi variations, at least with respect to the semicolon parameters, compare the actual type and drop out of the list if any