@@ -643,7 +643,7 @@ instance Arbitrary a => Arbitrary (NonEmpty a) where
643643arbitraryScore :: Gen Score
644644arbitraryScore = fmap getPositive <$> arbitrary
645645
646−instance (Arbitrary a) => Arbitrary (Hit a) where
646+instance (Arbitrary a, Typeable a) => Arbitrary (Hit a) where
647647 arbitrary = Hit <$> arbitrary
648648 <*> arbitrary
649649 <*> arbitrary
@@ -653,7 +653,7 @@ instance (Arbitrary a) => Arbitrary (Hit a) where
653653 shrink = genericShrink
654654
655655
656−instance (Arbitrary a) => Arbitrary (SearchHits a) where
656+instance (Arbitrary a, Typeable a) => Arbitrary (SearchHits a) where
657657 arbitrary = reduceSize $ do
658658 tot <- getPositive <$> arbitrary
659659 score <- arbitraryScore