Help haddock find ghc-prim's types by explicitly exporting them
authorIan Lynagh <igloo@earth.li>
Wed, 3 Sep 2008 13:09:27 +0000 (13:09 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 3 Sep 2008 13:09:27 +0000 (13:09 +0000)
GHC/Bool.hs
GHC/Types.hs

index 39cb5e1..f826ae7 100644 (file)
@@ -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 ()
index a611b83..f25978c 100644 (file)
@@ -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