mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
Define a Listable instance over Patch.
This commit is contained in:
parent
8c566860ee
commit
d80ea55a59
@ -20,3 +20,6 @@ instance Arbitrary a => Arbitrary (Patch a) where
|
||||
|
||||
instance Listable1 Patch where
|
||||
liftTiers t = liftCons1 t Insert \/ liftCons1 t Delete \/ liftCons2 t t Replace
|
||||
|
||||
instance Listable a => Listable (Patch a) where
|
||||
tiers = tiers1
|
||||
|
Loading…
Reference in New Issue
Block a user