diff options
author | Jose Pedro Magalhaes <jpm@cs.ox.ac.uk> | 2012-06-21 12:10:04 +0100 |
---|---|---|
committer | Jose Pedro Magalhaes <jpm@cs.ox.ac.uk> | 2012-06-21 12:11:48 +0100 |
commit | 3bac25ff3936fea51db8c011f74080ee52816aa3 (patch) | |
tree | fca12972e300ee1674adcc2246b36142bcb4a52b /libraries/ghc-prim/GHC/Classes.hs | |
parent | e6594eb94e1fe706c5de9e9e32279f26a204f7e9 (diff) | |
download | haskell-3bac25ff3936fea51db8c011f74080ee52816aa3.tar.gz |
Move GHC.Generics to base
There is no real reason for it to be in ghc-prim, and it
complicates things.
Diffstat (limited to 'libraries/ghc-prim/GHC/Classes.hs')
-rw-r--r-- | libraries/ghc-prim/GHC/Classes.hs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libraries/ghc-prim/GHC/Classes.hs b/libraries/ghc-prim/GHC/Classes.hs index 863a8faefd..2b8a580e08 100644 --- a/libraries/ghc-prim/GHC/Classes.hs +++ b/libraries/ghc-prim/GHC/Classes.hs @@ -25,8 +25,6 @@ import GHC.Magic () import GHC.Prim import GHC.Tuple import GHC.Types --- For defining instances for the generic deriving mechanism -import GHC.Generics (Arity(..), Associativity(..), Fixity(..)) infix 4 ==, /=, <, <=, >=, > @@ -272,20 +270,6 @@ not False = True ------------------------------------------------------------------------ --- Generic deriving ------------------------------------------------------------------------- - --- We need instances for some basic datatypes, but some of those use Int, --- so we have to put the instances here -deriving instance Eq Arity -deriving instance Eq Associativity -deriving instance Eq Fixity - -deriving instance Ord Arity -deriving instance Ord Associativity -deriving instance Ord Fixity - ------------------------------------------------------------------------- -- These don't really belong here, but we don't have a better place to -- put them @@ -308,4 +292,3 @@ x# `modInt#` y# else r# where !r# = x# `remInt#` y# - |