From: simonmar Date: Tue, 12 Feb 2002 10:52:18 +0000 (+0000) Subject: [project @ 2002-02-12 10:52:18 by simonmar] X-Git-Tag: nhc98-1-18-release~1132 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d6a352198d9f1648740f04069181fb9a255dc826;p=haskell-directory.git [project @ 2002-02-12 10:52:18 by simonmar] Place this below the Prelude in the dependency tree, so we can import it in Foreign.Ptr without creating a loop. --- diff --git a/Numeric.hs b/Numeric.hs index 9a2b6cc..66a4f21 100644 --- a/Numeric.hs +++ b/Numeric.hs @@ -1,3 +1,4 @@ +{-# OPTIONS -fno-implicit-prelude #-} ----------------------------------------------------------------------------- -- -- Module : Numeric @@ -8,7 +9,7 @@ -- Stability : provisional -- Portability : portable -- --- $Id: Numeric.hs,v 1.4 2002/02/05 17:32:24 simonmar Exp $ +-- $Id: Numeric.hs,v 1.5 2002/02/12 10:52:18 simonmar Exp $ -- -- Odds and ends, mostly functions for reading and showing -- RealFloat-like kind of values. @@ -44,14 +45,16 @@ module Numeric ( ) where -import Prelude -- For dependencies import Data.Char #ifdef __GLASGOW_HASKELL__ -import GHC.Base ( Char(..), unsafeChr ) +import GHC.Base import GHC.Read -import GHC.Real ( showSigned ) +import GHC.Real import GHC.Float +import GHC.Num +import GHC.Show +import Data.Maybe #endif #ifdef __HUGS__