mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
Remove the Arbitrary instance for Diff.
This commit is contained in:
parent
0aa3154434
commit
3bb9e704bf
@ -51,9 +51,6 @@ unDiff (ArbitraryDiff (a, b)) = interpret comparable (unTerm a) (unTerm b)
|
|||||||
instance (Eq a, Eq annotation, Categorizable annotation, Arbitrary a, Arbitrary annotation) => Arbitrary (ArbitraryDiff a annotation) where
|
instance (Eq a, Eq annotation, Categorizable annotation, Arbitrary a, Arbitrary annotation) => Arbitrary (ArbitraryDiff a annotation) where
|
||||||
arbitrary = ArbitraryDiff <$> ((,) <$> arbitrary <*> arbitrary)
|
arbitrary = ArbitraryDiff <$> ((,) <$> arbitrary <*> arbitrary)
|
||||||
|
|
||||||
instance (Eq a, Eq annotation, Categorizable annotation, Arbitrary a, Arbitrary annotation) => Arbitrary (Diff a annotation) where
|
|
||||||
arbitrary = interpret comparable <$> (unTerm <$> arbitrary) <*> (unTerm <$> arbitrary)
|
|
||||||
|
|
||||||
data CategorySet = A | B | C | D deriving (Eq, Show)
|
data CategorySet = A | B | C | D deriving (Eq, Show)
|
||||||
|
|
||||||
instance Categorizable CategorySet where
|
instance Categorizable CategorySet where
|
||||||
|
Loading…
Reference in New Issue
Block a user