>Jonathan Scott Duff wrote: >> >> > Operator Overloading >> > ------------------------------------------------- >> > PLUS Called in + context >> > MINUS Called in - context >> > TIMES Called in * context >> > DIVIDED Called in / context >> > MODULUS Called in % context >> >> How about ye olde ADD, SUB, MUL, DIV, and MOD? >Yeah, these are good. They're the "wrong tense", but they are all the >same length, which is a plus. I encourage one to examine how Python does this. Particularly attractive is the way one does not have to distinguish between tie and operator overloading there. --tom
- RFC 159 (v1) True Polymorphic Objects Perl6 RFC Librarian
- Re: RFC 159 (v1) True Polymorphic Objects Nathan Wiger
- Re: RFC 159 (v1) True Polymorphic Objects David L. Nicol
- Re: RFC 159 (v1) True Polymorphic Objects Tom Christiansen
- Re: RFC 159 (v1) True Polymorphic Objects Jonathan Scott Duff
- Re: RFC 159 (v1) True Polymorphic Objects Nathan Wiger
- Re: RFC 159 (v1) True Polymorphic Objects Tom Christiansen
- Re: RFC 159 (v1) True Polymorphic Obj... Nathan Wiger
- Re: RFC 159 (v1) True Polymorphic Objects Piers Cawley
- Re: RFC 159 (v1) True Polymorphic Objects Nathan Wiger
- Re: RFC 159 (v1) True Polymorphic Objects Damian Conway
- Re: RFC 159 (v1) True Polymorphic Objects Tom Christiansen
- Re: RFC 159 (v1) True Polymorphic Objects Damian Conway
- Re: RFC 159 (v1) True Polymorphic Objects Tom Christiansen
- Re: RFC 159 (v1) True Polymorphic Objects Jeremy Howard
- Re: RFC 159 (v1) True Polymorphic Objects Bennett Todd
- Re: RFC 159 (v1) True Polymorphic Objects Nick Ing-Simmons