[commit: ghc] ghc-8.2: Don't expose fingerprints from Type.Reflection (83a6dd8)

git at git.haskell.org git at git.haskell.org
Mon Jun 19 13:03:41 UTC 2017


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

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/83a6dd82a883ef1d173bbc3b70af8265e298ab94/ghc

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

commit 83a6dd82a883ef1d173bbc3b70af8265e298ab94
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
    
    (cherry picked from commit 990928ff463ef421842669ce56998d0fcfaa65c7)


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

83a6dd82a883ef1d173bbc3b70af8265e298ab94
 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