From: Ian Lynagh Date: Wed, 3 Sep 2008 13:09:27 +0000 (+0000) Subject: Help haddock find ghc-prim's types by explicitly exporting them X-Git-Tag: 6_10_branch_has_been_forked~2 X-Git-Url: http://git.megacz.com/?p=ghc-prim.git;a=commitdiff_plain;h=b0f3bc38cef80a54e1412ca5c7cd3fce8ff862fb Help haddock find ghc-prim's types by explicitly exporting them --- diff --git a/GHC/Bool.hs b/GHC/Bool.hs index 39cb5e1..f826ae7 100644 --- 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 --- 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