@@ -586,7 +586,7 @@ instance ApproxEq Vers.Version where
586 (=~) = (==)
586 (=~) = (==)
587instance (ApproxEq a, Show a) => ApproxEq [a] where
587instance (ApproxEq a, Show a) => ApproxEq [a] where
588 as =~ bs = and (zipWith (=~) as bs)
588 as =~ bs = and (zipWith (=~) as bs)
589−instance (ApproxEq l, Show l, ApproxEq r, Show r) => ApproxEq (Either l r) where
589+instance (ApproxEq l, ApproxEq r) => ApproxEq (Either l r) where
590 Left a =~ Left b = a =~ b
590 Left a =~ Left b = a =~ b
591 Right a =~ Right b = a =~ b
591 Right a =~ Right b = a =~ b
592 _ =~ _ = False
592 _ =~ _ = False
@@ -643,7 +643,7 @@ instance Arbitrary a => Arbitrary (NonEmpty a) where
643arbitraryScore :: Gen Score
643arbitraryScore :: Gen Score
644arbitraryScore = fmap getPositive <$> arbitrary
644arbitraryScore = fmap getPositive <$> arbitrary
646−instance (Arbitrary a, Typeable a) => Arbitrary (Hit a) where
646+instance (Arbitrary a) => Arbitrary (Hit a) where
647 arbitrary = Hit <$> arbitrary
647 arbitrary = Hit <$> arbitrary
648 <*> arbitrary
648 <*> arbitrary
649 <*> arbitrary
649 <*> arbitrary
@@ -653,7 +653,7 @@ instance (Arbitrary a, Typeable a) => Arbitrary (Hit a) where
653 shrink = genericShrink
653 shrink = genericShrink
656−instance (Arbitrary a, Typeable a) => Arbitrary (SearchHits a) where
656+instance (Arbitrary a) => Arbitrary (SearchHits a) where
657 arbitrary = reduceSize $ do
657 arbitrary = reduceSize $ do
658 tot <- getPositive <$> arbitrary
658 tot <- getPositive <$> arbitrary
659 score <- arbitraryScore
659 score <- arbitraryScore