summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://peter-simons.myopenid.com/ <http://peter-simons.myopenid.com/@web>2012-03-05 21:10:48 +0000
committerGravatar admin <admin@branchable.com>2012-03-05 21:10:48 +0000
commit6a1e334a78c94014f3aee8b383caf20c81f281d1 (patch)
tree20af2a29c2abe03807a96c57bf8cc7da13ff7263
parentee806c1175b6dcb59fb22aaa9b23480955e7630e (diff)
Added a comment
-rw-r--r--doc/news/version_3.20120229/comment_3_8f7f8d4758804f1b695925934219745a._comment42
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/news/version_3.20120229/comment_3_8f7f8d4758804f1b695925934219745a._comment b/doc/news/version_3.20120229/comment_3_8f7f8d4758804f1b695925934219745a._comment
new file mode 100644
index 000000000..a31a182cc
--- /dev/null
+++ b/doc/news/version_3.20120229/comment_3_8f7f8d4758804f1b695925934219745a._comment
@@ -0,0 +1,42 @@
+[[!comment format=mdwn
+ username="http://peter-simons.myopenid.com/"
+ ip="77.186.165.208"
+ subject="comment 3"
+ date="2012-03-05T21:10:47Z"
+ content="""
+Unfortunately, the patch you mentioned doesn't seem to address the problem. I'm getting the following compile error:
+
+ Data/Digest/SHA2.hs:111:4:
+ Could not deduce (Show a) arising from a use of `showHex'
+ from the context (Integral a)
+ bound by the instance declaration at Data/Digest/SHA2.hs:109:10-39
+ Possible fix:
+ add (Show a) to the context of the instance declaration
+ In the first argument of `(.)', namely `(showHex a)'
+ In the expression:
+ (showHex a)
+ . (' ' :)
+ . (showHex b)
+ . (' ' :)
+ . (showHex c)
+ . (' ' :)
+ . (showHex d)
+ . (' ' :)
+ . (showHex e)
+ . (' ' :)
+ . (showHex f) . (' ' :) . (showHex g) . (' ' :) . (showHex h)
+ In an equation for `showsPrec':
+ showsPrec _ (Hash8 a b c d e f g h)
+ = (showHex a)
+ . (' ' :)
+ . (showHex b)
+ . (' ' :)
+ . (showHex c)
+ . (' ' :)
+ . (showHex d)
+ . (' ' :)
+ . (showHex e)
+ . (' ' :)
+ . (showHex f) . (' ' :) . (showHex g) . (' ' :) . (showHex h)
+
+"""]]