mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
🔥 some redundant parens.
This commit is contained in:
parent
6829c6baab
commit
19ccf9fd54
@ -59,7 +59,7 @@ instance Arbitrary CategorySet where
|
|||||||
|
|
||||||
instance Arbitrary a => Arbitrary (Join (,) a) where
|
instance Arbitrary a => Arbitrary (Join (,) a) where
|
||||||
arbitrary = both <$> arbitrary <*> arbitrary
|
arbitrary = both <$> arbitrary <*> arbitrary
|
||||||
shrink b = both <$> (shrink (fst b)) <*> (shrink (snd b))
|
shrink b = both <$> shrink (fst b) <*> shrink (snd b)
|
||||||
|
|
||||||
instance Arbitrary a => Arbitrary (Line a) where
|
instance Arbitrary a => Arbitrary (Line a) where
|
||||||
arbitrary = oneof [ Line <$> arbitrary, Closed <$> arbitrary ]
|
arbitrary = oneof [ Line <$> arbitrary, Closed <$> arbitrary ]
|
||||||
|
Loading…
Reference in New Issue
Block a user