summaryrefslogtreecommitdiffstats
path: root/math/hs-Agda/files/patch-src__full__Agda__TypeChecking__Serialise.hs
diff options
context:
space:
mode:
Diffstat (limited to 'math/hs-Agda/files/patch-src__full__Agda__TypeChecking__Serialise.hs')
-rw-r--r--math/hs-Agda/files/patch-src__full__Agda__TypeChecking__Serialise.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/hs-Agda/files/patch-src__full__Agda__TypeChecking__Serialise.hs b/math/hs-Agda/files/patch-src__full__Agda__TypeChecking__Serialise.hs
new file mode 100644
index 0000000..ef6fa31
--- /dev/null
+++ b/math/hs-Agda/files/patch-src__full__Agda__TypeChecking__Serialise.hs
@@ -0,0 +1,11 @@
+--- ./src/full/Agda/TypeChecking/Serialise.hs.orig 2012-03-12 11:09:33.000000000 +0100
++++ ./src/full/Agda/TypeChecking/Serialise.hs 2013-02-05 04:30:03.000000000 +0100
+@@ -119,7 +119,7 @@
+ -- | With direct access to the internals of 'TypeRep' this instance
+ -- could presumably be improved.
+ instance Hashable TypeRep' where
+- hash = hash . show . unTypeRep'
++ hashWithSalt n = hashWithSalt n . show . unTypeRep'
+
+ data St = St
+ { nodeE :: !(Array Int32 Node)
OpenPOWER on IntegriCloud