You can redefine operators like addition, concatenation, comparison, or even the implicit string-to-number conversion with the overload module. This is how a module implementing complex numbers (for example) can let you multiply a complex number by 8 to get a complex number as a result.
Copyright © 2002 O'Reilly & Associates. All rights reserved.