choice of signatures

2006-01-04 Thread Jonathan Lang
Instead of multi sub *infix:~(ArabicStr $s1, ArabicStr $s2) {...} multi sub *infix:~(Str $s1, ArabicStr $s2) {...} multi sub *infix:~(ArabicStr $s1, Str $s2) {...} could you say multi sub *infix:~(ArabicStr $s1, ArabicStr | Str $s2) | (Str $s1, ArabicStr $s2) {...} or something

Re: choice of signatures

2006-01-04 Thread Fayland Lam
Jonathan Lang wrote: Instead of multi sub *infix:~(ArabicStr $s1, ArabicStr $s2) {...} multi sub *infix:~(Str $s1, ArabicStr $s2) {...} multi sub *infix:~(ArabicStr $s1, Str $s2) {...} as S13 say multi sub infix:+ (Us $us, Them $them) is commutative { myadd($us,$them) }

Re: choice of signatures

2006-01-04 Thread Miroslav Silovic
[EMAIL PROTECTED] wrote: Jonathan Lang wrote: Instead of multi sub *infix:~(ArabicStr $s1, ArabicStr $s2) {...} multi sub *infix:~(Str $s1, ArabicStr $s2) {...} multi sub *infix:~(ArabicStr $s1, Str $s2) {...} as S13 say multi sub infix:+ (Us $us, Them $them) is