When defining expressions with arithmetic operations on a mixture of
Integers and Floats (except literals), an explicit conversion by
"fromIntegral" for the Integers is necessary, for example: ceiling
(fromIntegral n / x)

Is it possible to do the "fromInteger" conversion automatically? What's
the best way to do it? (overloading of operators, etc.?)

Christian



_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to