projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
275cc99
)
Do not export GHC.Generics from GHC.Base
author
jpm@cs.uu.nl
<unknown>
Thu, 14 Oct 2010 12:42:40 +0000
(12:42 +0000)
committer
jpm@cs.uu.nl
<unknown>
Thu, 14 Oct 2010 12:42:40 +0000
(12:42 +0000)
GHC/Base.lhs
patch
|
blob
|
history
diff --git
a/GHC/Base.lhs
b/GHC/Base.lhs
index
be1b57b
..
1a5ce0d
100644
(file)
--- a/
GHC/Base.lhs
+++ b/
GHC/Base.lhs
@@
-97,7
+97,8
@@
module GHC.Base
(
module GHC.Base,
module GHC.Classes,
(
module GHC.Base,
module GHC.Classes,
- module GHC.Generics,
+ --module GHC.Generics, -- JPM: We no longer export GHC.Generics
+ -- by default to avoid name clashes
module GHC.Ordering,
module GHC.Types,
module GHC.Prim, -- Re-export GHC.Prim and GHC.Err, to avoid lots
module GHC.Ordering,
module GHC.Types,
module GHC.Prim, -- Re-export GHC.Prim and GHC.Err, to avoid lots
@@
-107,7
+108,8
@@
module GHC.Base
import GHC.Types
import GHC.Classes
import GHC.Types
import GHC.Classes
-import GHC.Generics
+-- JPM: Since we don't export it, we don't need to import GHC.Generics
+--import GHC.Generics
import GHC.Ordering
import GHC.Prim
import {-# SOURCE #-} GHC.Show
import GHC.Ordering
import GHC.Prim
import {-# SOURCE #-} GHC.Show