[commit: ghc] master: Don't expose fingerprints from Type.Reflection (990928f)

git at git.haskell.org git at git.haskell.org
Mon Jun 19 12:16:24 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/990928ff463ef421842669ce56998d0fcfaa65c7/ghc

>---------------------------------------------------------------

commit 990928ff463ef421842669ce56998d0fcfaa65c7
Author: David Feuer <david.feuer at gmail.com>
Date:   Sun Jun 18 16:50:25 2017 -0400

    Don't expose fingerprints from Type.Reflection
    
    The `Fingerprint` type is not exported from any "public"
    module. It therefore seems quite strange that `Type.Reflection`
    exports functions for extracting fingerprints. Remove those
    exports. If fingerprints are eventually considered public,
    this can be reconsidered.
    
    Reviewers: austin, hvr, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3643


>---------------------------------------------------------------

990928ff463ef421842669ce56998d0fcfaa65c7
 libraries/base/Type/Reflection.hs | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libraries/base/Type/Reflection.hs b/libraries/base/Type/Reflection.hs
index cb0337a..9e87c5f 100644
--- a/libraries/base/Type/Reflection.hs
+++ b/libraries/base/Type/Reflection.hs
@@ -40,7 +40,6 @@ module Type.Reflection
     , I.TypeRep
     , I.typeOf
     , pattern I.App, pattern I.Con, pattern I.Con', pattern I.Fun
-    , I.typeRepFingerprint
     , I.typeRepTyCon
     , I.rnfTypeRep
     , I.eqTypeRep
@@ -54,7 +53,6 @@ module Type.Reflection
     , I.SomeTypeRep(..)
     , I.someTypeRep
     , I.someTypeRepTyCon
-    , I.someTypeRepFingerprint
     , I.rnfSomeTypeRep
 
       -- * Type constructors
@@ -64,7 +62,6 @@ module Type.Reflection
     , I.tyConModule
     , I.tyConName
     , I.rnfTyCon
-    , I.tyConFingerprint
 
       -- * Module names
     , I.Module



More information about the ghc-commits mailing list