[commit: packages/binary] master: Remove Eq constraint. (3f98a98)
git at git.haskell.org
git at git.haskell.org
Tue Apr 19 20:30:58 UTC 2016
Repository : ssh://git@git.haskell.org/binary
On branch : master
Link : http://git.haskell.org/packages/binary.git/commitdiff/3f98a98f094df16e59f27430c7e66e093fb22ca5
>---------------------------------------------------------------
commit 3f98a98f094df16e59f27430c7e66e093fb22ca5
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date: Tue Apr 19 07:39:14 2016 +0200
Remove Eq constraint.
It wasn't required.
>---------------------------------------------------------------
3f98a98f094df16e59f27430c7e66e093fb22ca5
tests/QC.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/QC.hs b/tests/QC.hs
index eeb04da..0bad454 100644
--- a/tests/QC.hs
+++ b/tests/QC.hs
@@ -494,7 +494,7 @@ p = property
test :: (Eq a, Binary a) => a -> Property
test a = forAll positiveList (roundTrip a . refragment)
-test' :: (Show a, Arbitrary a, Eq a) => String -> (a -> Property) -> ([a] -> Property) -> Test
+test' :: (Show a, Arbitrary a) => String -> (a -> Property) -> ([a] -> Property) -> Test
test' desc prop propList =
testGroup desc [
testProperty desc prop,
More information about the ghc-commits
mailing list