projects
/
ghc-prim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
94fff17
)
Add some GHC.Generics imports so we can find Inl etc where we need to
author
Ian Lynagh
<igloo@earth.li>
Wed, 6 Aug 2008 11:06:12 +0000
(11:06 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 6 Aug 2008 11:06:12 +0000
(11:06 +0000)
GHC/Tuple.hs
patch
|
blob
|
history
GHC/Types.hs
patch
|
blob
|
history
diff --git
a/GHC/Tuple.hs
b/GHC/Tuple.hs
index
dac7a4f
..
01ece26
100644
(file)
--- a/
GHC/Tuple.hs
+++ b/
GHC/Tuple.hs
@@
-15,6
+15,9
@@
module GHC.Tuple where
module GHC.Tuple where
+-- We need Inl etc behind the scenes for the tuple definitions
+import GHC.Generics ()
+
default () -- Double and Inteegr aren't available yet
data (,) a b = (,) a b
default () -- Double and Inteegr aren't available yet
data (,) a b = (,) a b
diff --git
a/GHC/Types.hs
b/GHC/Types.hs
index
e43e376
..
5531a6d
100644
(file)
--- a/
GHC/Types.hs
+++ b/
GHC/Types.hs
@@
-4,6
+4,8
@@
module GHC.Types where
import GHC.Prim
module GHC.Types where
import GHC.Prim
+-- We need Inl etc behind the scenes for the type definitions
+import GHC.Generics ()
infixr 5 :
infixr 5 :