#endif
module Pretty (
- SYN_IE(Pretty),
#if defined(COMPILING_GHC)
+ SYN_IE(Pretty),
prettyToUn,
+#else
+ Pretty,
#endif
ppNil, ppStr, ppPStr, ppChar, ppInt, ppInteger,
ppFloat, ppDouble,
IMPORT_1_3(IO)
import Unpretty ( SYN_IE(Unpretty) )
+#else
+import Ratio
#endif
import CharSeq
ppInteger n = ppStr (show n)
ppDouble n = ppStr (show n)
ppFloat n = ppStr (show n)
+
ppRational n = ppStr (show (fromRationalX n)) -- _showRational 30 n)
ppSP = ppChar ' '