Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Leopold Toetsch <[EMAIL PROTECTED]> wrote:
>> Syntax proposal: >> .sub foo @MULTI >> .invocant Integer a >> .invocant Float b >> .param pmc c >> ... > Alternate syntax: > .sub foo multi(Integer, Float) > .param pmc a > .param pmc b > .param pmc c And another one: .multi sub foo .sub foo__Int_Num_Str Integer,Float:String .sub foo__Num_Int_Any Float,Integer,pmc .endmulti .sub foo__Int_Num_Str ... .sub foo__Num_Int_Any ... The C<.multi> defines a group of multi subs with it's short name. The members are plain subroutines with their long names. Name mangling is done by Perl6. leo