A suitable default definition for fromRational could be the following:
fromRational n = fromInteger (numerator n) / fromInteger (denominator n)
Changing the MINIMUM pragma to just {-# MINIMAL recip | (/) #-}
- Joe
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries