X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Futils%2FPretty.lhs;h=51ecf31845229a67ee20c9b4e4e6e5c53f4b20f3;hb=a8427a4125e9b78e88a487eeabf018f1c6e8bc08;hp=96ea1fbfc5ed876d99c599e3fca5a3dea3076558;hpb=7c085edd732bd1fd52e758017da9eac583bfba1a;p=ghc-hetmet.git diff --git a/compiler/utils/Pretty.lhs b/compiler/utils/Pretty.lhs index 96ea1fb..51ecf31 100644 --- a/compiler/utils/Pretty.lhs +++ b/compiler/utils/Pretty.lhs @@ -446,7 +446,7 @@ int n = text (show n) integer n = text (show n) float n = text (show n) double n = text (show n) -rational n = text (show (fromRat n)) +rational n = text (show (fromRat n :: Double)) --rational n = text (show (fromRationalX n)) -- _showRational 30 n) quotes p = char '`' <> p <> char '\''