[commit: ghc] wip/T9281: Remove obsolete `digitsTyConKey :: Unique` (db4f271)

git at git.haskell.org git at git.haskell.org
Sat Aug 16 21:19:08 UTC 2014


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

On branch  : wip/T9281
Link       : http://ghc.haskell.org/trac/ghc/changeset/db4f27143f86f2c6a71bc70a086073f70a670141/ghc

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

commit db4f27143f86f2c6a71bc70a086073f70a670141
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Aug 16 20:31:21 2014 +0200

    Remove obsolete `digitsTyConKey :: Unique`
    
    This became dead with 1e87c0a6e485e1dbef8e9ed19191e54f6cdc54e0
    and was probably just missed.
    
    I plan to re-use the freed up `mkPreludeTyConUnique 23` slot soon
    for a new `bigNatTyConKey` (as part of the #9281 effort)


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

db4f27143f86f2c6a71bc70a086073f70a670141
 compiler/prelude/PrelNames.lhs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/prelude/PrelNames.lhs b/compiler/prelude/PrelNames.lhs
index bd791ff..6a30a3f 100644
--- a/compiler/prelude/PrelNames.lhs
+++ b/compiler/prelude/PrelNames.lhs
@@ -1328,7 +1328,7 @@ addrPrimTyConKey, arrayPrimTyConKey, arrayArrayPrimTyConKey, boolTyConKey, byteA
     floatPrimTyConKey, floatTyConKey, funTyConKey, intPrimTyConKey,
     intTyConKey, int8TyConKey, int16TyConKey, int32PrimTyConKey,
     int32TyConKey, int64PrimTyConKey, int64TyConKey,
-    integerTyConKey, digitsTyConKey,
+    integerTyConKey,
     listTyConKey, foreignObjPrimTyConKey, weakPrimTyConKey,
     mutableArrayPrimTyConKey, mutableArrayArrayPrimTyConKey, mutableByteArrayPrimTyConKey,
     orderingTyConKey, mVarPrimTyConKey, ratioTyConKey, rationalTyConKey,
@@ -1355,7 +1355,7 @@ int32TyConKey                           = mkPreludeTyConUnique 19
 int64PrimTyConKey                       = mkPreludeTyConUnique 20
 int64TyConKey                           = mkPreludeTyConUnique 21
 integerTyConKey                         = mkPreludeTyConUnique 22
-digitsTyConKey                          = mkPreludeTyConUnique 23
+
 listTyConKey                            = mkPreludeTyConUnique 24
 foreignObjPrimTyConKey                  = mkPreludeTyConUnique 25
 weakPrimTyConKey                        = mkPreludeTyConUnique 27



More information about the ghc-commits mailing list