From b0f3bc38cef80a54e1412ca5c7cd3fce8ff862fb Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 3 Sep 2008 13:09:27 +0000 Subject: [PATCH] Help haddock find ghc-prim's types by explicitly exporting them --- GHC/Bool.hs | 2 +- GHC/Types.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4