Ignore this message

2004-11-23 Thread Luke Palmer
Mail test. Sorry. Luke

Re: S13: Deep operators

2004-11-23 Thread Larry Wall
On Mon, Nov 22, 2004 at 07:51:29PM +, Matthew Walton wrote: : And can I overload based on return types? In the case of an MMD tie, the default routine could use the return type context to break the tie. That's about the limit of what's practical, I suspect. Possibly we could give some declar

Re: S13: Deep operators

2004-11-23 Thread Matthew Walton
Luke Palmer wrote: Also, would things blow up if I specified the return types for operator overloads, such as multi sub *infix:Â+Â (EvilNumber $lhs, EvilNumber $rhs) returns EvilNumber is deep { ... } In that case I don't see why it would blow up. If you said, say: multi sub *infix:Â*Â (Ve

Re: S13: Deep operators

2004-11-23 Thread Luke Palmer
Matthew Walton writes: > However, if I alter my operator overload to be > > multi sub *infix:Â+Â (EvilNumber $lhs, EvilNumber $rhs) is deep { ... } > > I get *infix:Â+=Â defined as { $lhs = $lhs + $rhs; } for free. Is that > right? Yep. > Also, would things blow up if I specified the return ty