1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00

Change order of classIdentifier and classContext

This commit is contained in:
joshvera 2017-08-21 15:20:37 -04:00
parent 809200b454
commit 07578db85b

View File

@ -43,7 +43,7 @@ instance Eq1 Variable where liftEq = genericLiftEq
instance Show1 Variable where liftShowsPrec = genericLiftShowsPrec
data Class a = Class { classIdentifier :: !a, classContext :: ![a], classSuperclasses :: ![a], classBody :: ![a] }
data Class a = Class { classContext :: ![a], classIdentifier :: !a, classSuperclasses :: ![a], classBody :: ![a] }
deriving (Diffable, Eq, Foldable, Functor, GAlign, Generic1, Show, Traversable)
instance Eq1 Class where liftEq = genericLiftEq