projects
/
ghc-prim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ff966
)
Help haddock find ghc-prim's types by explicitly exporting them
author
Ian Lynagh
<igloo@earth.li>
Wed, 3 Sep 2008 13:09:27 +0000
(13:09 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 3 Sep 2008 13:09:27 +0000
(13:09 +0000)
GHC/Bool.hs
patch
|
blob
|
history
GHC/Types.hs
patch
|
blob
|
history
diff --git
a/GHC/Bool.hs
b/GHC/Bool.hs
index
39cb5e1
..
f826ae7
100644
(file)
--- a/
GHC/Bool.hs
+++ b/
GHC/Bool.hs
@@
-1,7
+1,7
@@
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
-module GHC.Bool where
+module GHC.Bool (Bool(..)) where
-- We need Inl etc behind the scenes for the Bool definition
import GHC.Generics ()
diff --git
a/GHC/Types.hs
b/GHC/Types.hs
index
a611b83
..
f25978c
100644
(file)
--- a/
GHC/Types.hs
+++ b/
GHC/Types.hs
@@
-1,7
+1,7
@@
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
-module GHC.Types where
+module GHC.Types (Char(..), Int(..), Float(..), Double(..)) where
import GHC.Prim
-- We need Inl etc behind the scenes for the type definitions