"Coercion rules" is one of the few cases where I would vote to throw
backward compatability overboard if a better and more consistent
scheme were proposed. I have not made a whole lot of use of the
trickier aspects of overloading because of the problem of figuring
out how coerce works with the special cases of '*' ( for "seq * n"
or "n * seq" ) and some others. I have a bunch of code that I
have never posted or released because I could never quite figure
out how to write coercion rules that were bug free in all cases,
because I couldn't quite figure out what the rules ARE.
- Steve Majewski (804-982-0831) <sdm7g@Virginia.EDU>
- UVA Department of Molecular Physiology and Biological Physics