On Mon, 2004-08-23 at 18:13, Dan Sugalski wrote: > The unary behavior of the types is reasonably straightforward. What > I'm puzzling over right now is the binary behavior. It's the edge > cases that are troublesome, of course -- what to do on overflow, and > what to do with fractional results. > > Fractions are an issue mainly with integer division -- in the case of > int/int, should the result be an int, or a float of some sort?
Just the other day you were wondering about multidispatch on return types. Here's your chance! -- c