[commit: ghc] master: base: Expose Module from Type.Reflection (1db71f5)
git at git.haskell.org
git at git.haskell.org
Tue Feb 28 15:59:15 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/1db71f59de37987446487c7c6ee502020d34f42a/ghc
>---------------------------------------------------------------
commit 1db71f59de37987446487c7c6ee502020d34f42a
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Mon Feb 27 17:09:18 2017 -0500
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
>---------------------------------------------------------------
1db71f59de37987446487c7c6ee502020d34f42a
libraries/base/Data/Typeable/Internal.hs | 2 +-
libraries/base/Type/Reflection.hs | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/libraries/base/Data/Typeable/Internal.hs b/libraries/base/Data/Typeable/Internal.hs
index c230d3a..aa8345b 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 37efcba..59f16ac 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
More information about the ghc-commits
mailing list