[commit: packages/deepseq] typeable-with-kinds: Update for new representation of TypeRep (c0794e1)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:36:09 UTC 2015


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

On branch  : typeable-with-kinds
Link       : http://git.haskell.org/packages/deepseq.git/commitdiff/c0794e1e84229bf61816c26f8f90b43488cd57c6

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

commit c0794e1e84229bf61816c26f8f90b43488cd57c6
Author: Iavor S. Diatchki <diatchki at galois.com>
Date:   Mon Feb 9 17:06:52 2015 -0800

    Update for new representation of TypeRep


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

c0794e1e84229bf61816c26f8f90b43488cd57c6
 Control/DeepSeq.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Control/DeepSeq.hs b/Control/DeepSeq.hs
index 31a42d7..207e19f 100644
--- a/Control/DeepSeq.hs
+++ b/Control/DeepSeq.hs
@@ -380,7 +380,7 @@ instance NFData Unique where
 --
 -- /Since: 1.4.0.0/
 instance NFData TypeRep where
-    rnf (TypeRep _ tycon tyrep) = rnf tycon `seq` rnf tyrep
+    rnf (TypeRep _ tycon kis tyrep) = rnf tycon `seq` rnf kis `seq` rnf tyrep
 
 -- | __NOTE__: Only defined for @base-4.8.0.0@ and later
 --



More information about the ghc-commits mailing list