mirror of
https://github.com/github/semantic.git
synced 2024-11-24 17:04:47 +03:00
Add deriving constructor
This commit is contained in:
parent
26707bab69
commit
bf117f0907
@ -127,3 +127,13 @@ instance Show1 Pragma where liftShowsPrec = genericLiftShowsPrec
|
||||
instance ToJSONFields1 Pragma
|
||||
|
||||
instance Evaluatable Pragma
|
||||
|
||||
newtype Deriving a = Deriving [a] deriving (Diffable, Eq, Foldable, Functor, Generic1, Hashable1, Mergeable, Ord, Show, Traversable, FreeVariables1, Declarations1)
|
||||
|
||||
instance Eq1 Deriving where liftEq = genericLiftEq
|
||||
instance Ord1 Deriving where liftCompare = genericLiftCompare
|
||||
instance Show1 Deriving where liftShowsPrec = genericLiftShowsPrec
|
||||
|
||||
instance ToJSONFields1 Deriving
|
||||
|
||||
instance Evaluatable Deriving
|
||||
|
Loading…
Reference in New Issue
Block a user