summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-02-27 17:09:18 -0500
committerBen Gamari <ben@smart-cactus.org>2017-02-28 09:26:14 -0500
commit1db71f59de37987446487c7c6ee502020d34f42a (patch)
tree8d2903fa5aa5d4415d43b1ac873166fc1a5c171f
parente94bfb677298de3c4b4e0d1223fbc589849b79be (diff)
downloadhaskell-1db71f59de37987446487c7c6ee502020d34f42a.tar.gz
base: Expose Module from Type.Reflection
There is no reason why this can't be safely exported. Test Plan: Validate Reviewers: austin, hvr Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D3226
-rw-r--r--libraries/base/Data/Typeable/Internal.hs2
-rw-r--r--libraries/base/Type/Reflection.hs4
2 files changed, 5 insertions, 1 deletions
diff --git a/libraries/base/Data/Typeable/Internal.hs b/libraries/base/Data/Typeable/Internal.hs
index c230d3a95a..aa8345b512 100644
--- a/libraries/base/Data/Typeable/Internal.hs
+++ b/libraries/base/Data/Typeable/Internal.hs
@@ -40,7 +40,7 @@ module Data.Typeable.Internal (
-- * Module
Module, -- Abstract
- moduleName, modulePackage,
+ moduleName, modulePackage, rnfModule,
-- * TyCon
TyCon, -- Abstract
diff --git a/libraries/base/Type/Reflection.hs b/libraries/base/Type/Reflection.hs
index 37efcba489..59f16acf88 100644
--- a/libraries/base/Type/Reflection.hs
+++ b/libraries/base/Type/Reflection.hs
@@ -61,6 +61,10 @@ module Type.Reflection
, I.tyConModule
, I.tyConName
, I.rnfTyCon
+
+ -- * Module names
+ , I.Module
+ , I.moduleName, I.modulePackage, I.rnfModule
) where
import qualified Data.Typeable.Internal as I