vector: patch for newer QuickCheck (drop duplicate instances). closes: #867873
Clint Adams
6 years ago
|
0 |
haskell-vector (0.11.0.0-8) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Patch for newer QuickCheck (drop duplicate instances).
|
|
3 |
closes: #867873.
|
|
4 |
|
|
5 |
-- Clint Adams <clint@debian.org> Mon, 10 Jul 2017 07:51:17 -0400
|
|
6 |
|
0 | 7 |
haskell-vector (0.11.0.0-7) unstable; urgency=medium
|
1 | 8 |
|
2 | 9 |
* Upload to unstable as part of GHC 8 transition.
|
8 | 8 |
transformers >= 0.2.0.0
|
9 | 9 |
|
10 | 10 |
default-extensions: CPP,
|
|
11 |
--- a/tests/Utilities.hs
|
|
12 |
+++ b/tests/Utilities.hs
|
|
13 |
@@ -51,12 +51,6 @@
|
|
14 |
instance CoArbitrary a => CoArbitrary (S.Bundle v a) where
|
|
15 |
coarbitrary = coarbitrary . S.toList
|
|
16 |
|
|
17 |
-instance Arbitrary a => Arbitrary (Identity a) where
|
|
18 |
- arbitrary = fmap Identity arbitrary
|
|
19 |
-
|
|
20 |
-instance CoArbitrary a => CoArbitrary (Identity a) where
|
|
21 |
- coarbitrary = coarbitrary . runIdentity
|
|
22 |
-
|
|
23 |
instance Arbitrary a => Arbitrary (Writer a ()) where
|
|
24 |
arbitrary = fmap (writer . ((,) ())) arbitrary
|
|
25 |
|