summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Complex.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-08-25 21:41:44 +0000
committerIan Lynagh <igloo@earth.li>2008-08-25 21:41:44 +0000
commit67dfc3ed95502c536596e4a0c47601571633fa53 (patch)
tree6d635ed975871eee7872f78d733e7dc29f6808ec /libraries/base/Data/Complex.hs
parent70b971f47a4fa536cedc299118ac1e3b6d88d6c8 (diff)
downloadhaskell-67dfc3ed95502c536596e4a0c47601571633fa53.tar.gz
Split syb off into its own package
I've also moved the Data (Complex a) instance into it, and made it portable rather than GHC-only in the process.
Diffstat (limited to 'libraries/base/Data/Complex.hs')
-rw-r--r--libraries/base/Data/Complex.hs7
1 files changed, 0 insertions, 7 deletions
diff --git a/libraries/base/Data/Complex.hs b/libraries/base/Data/Complex.hs
index 7d29e778e2..3acfa0382f 100644
--- a/libraries/base/Data/Complex.hs
+++ b/libraries/base/Data/Complex.hs
@@ -44,9 +44,6 @@ module Data.Complex
import Prelude
import Data.Typeable
-#ifdef __GLASGOW_HASKELL__
-import Data.Generics.Basics( Data )
-#endif
#ifdef __HUGS__
import Hugs.Prelude(Num(fromInt), Fractional(fromDouble))
@@ -65,11 +62,7 @@ infix 6 :+
data (RealFloat a) => Complex a
= !a :+ !a -- ^ forms a complex number from its real and imaginary
-- rectangular components.
-# if __GLASGOW_HASKELL__
- deriving (Eq, Show, Read, Data)
-# else
deriving (Eq, Show, Read)
-# endif
-- -----------------------------------------------------------------------------
-- Functions over Complex