big rationals question

Ferenc Wagner wferi@afavant.elte.hu
Sun, 16 Feb 2003 15:07:59 +0100


"Damien R. Sullivan" <dasulliv@cs.indiana.edu> writes:

> can I get Haskell to actually do that division itself?

You can use the function
fromRational :: Fractional a => Rational -> a

                                      Feri.