1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 20:31:55 +03:00

Define a Generic1 instance for Patch.

This commit is contained in:
Rob Rix 2017-08-23 12:07:26 -04:00
parent 562be941fe
commit 2c722a59c7

View File

@ -26,7 +26,7 @@ data Patch a
= Replace a a
| Insert a
| Delete a
deriving (Eq, Foldable, Functor, Generic, Ord, Show, Traversable, NFData)
deriving (Eq, Foldable, Functor, Generic, Generic1, Ord, Show, Traversable, NFData)
-- DSL