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
- Mixture of Integer and Float arithmetic without ... Christian Lescher
- Mixture of Integer and Float arithmetic wit... Tom Pledger
- Re: Mixture of Integer and Float arithmetic... Christian Lescher
- Re: Mixture of Integer and Float arithmetic... Tom Pledger
- Re: Mixture of Integer and Float arithmetic... Christian Lescher
- Re: Mixture of Integer and Float arithmetic... Marcin 'Qrczak' Kowalczyk
- Re: Mixture of Integer and Float arithm... Malcolm Wallace
- RE: Mixture of Integer and Float arithmetic... Simon Peyton-Jones
- Re: Mixture of Integer and Float arithmetic... Christian Lescher
- RE: Mixture of Integer and Float arithmetic... Simon Peyton-Jones
- GHCi (was Re: Mixture of Integer and Fl... Ross Paterson