From e19891658e3d0c37facd312f5a11ae665996d27b Mon Sep 17 00:00:00 2001 From: sof Date: Mon, 1 Mar 1999 08:58:53 +0000 Subject: [PATCH] [project @ 1999-03-01 08:58:53 by sof] wibble --- ghc/lib/std/PrelNumExtra.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/lib/std/PrelNumExtra.lhs b/ghc/lib/std/PrelNumExtra.lhs index 48cda70..f6163f6 100644 --- a/ghc/lib/std/PrelNumExtra.lhs +++ b/ghc/lib/std/PrelNumExtra.lhs @@ -722,7 +722,7 @@ showFloat x = showString (formatRealFloat FFGeneric Nothing x) -- These are the format types. This type is not exported. -data FFFormat = FFExponent | FFFixed | FFGeneric --no need: deriving (Eq, Ord, Show) +data FFFormat = FFExponent | FFFixed | FFGeneric formatRealFloat :: (RealFloat a) => FFFormat -> Maybe Int -> a -> String formatRealFloat fmt decs x -- 1.7.10.4