2009/3/20 Brandon S. Allbery KF8NH <allbery@ece.cmu.edu> ...but there is (%) :: (Integral a) => a -> a -> Ratio a Prelude Data.Ratio> let y = truncate (x%3)Prelude Data.Ratio> :t yy :: IntegerWhy does y now have the type Integer instead of Int?
...but there is (%) :: (Integral a) => a -> a -> Ratio a