[Haskell-cafe] Error with Float

Dinh Tien Tuan Anh tuananhbirm at hotmail.com
Wed Jul 20 03:53:50 EDT 2005


>To get exact fractions, use the Ratio module (import Ratio) and the
>Rational type which is defined there.

Thanks dude, it works




>The code you wrote below has a serious style problem that I thought
>I'd point out: you shouldn't use the IO monad for pure functions.

I've never known that, thanks a lot

TuanAnh

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! 
http://messenger.msn.co.uk



More information about the Haskell-Cafe mailing list