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

Try to derive Message1 for Array

This commit is contained in:
joshvera 2018-05-25 18:59:58 -04:00
parent 8c933df67d
commit 64a2f81001

View File

@ -190,7 +190,7 @@ instance Evaluatable Regex
-- Collections
newtype Array a = Array { arrayElements :: [a] }
deriving (Diffable, Eq, Foldable, Functor, GAlign, Generic1, Hashable1, Mergeable, Ord, Show, Traversable, FreeVariables1, Declarations1, Generic, Named, Message)
deriving (Diffable, Eq, Foldable, Functor, GAlign, Generic1, Hashable1, Mergeable, Ord, Show, Traversable, FreeVariables1, Declarations1, Generic, Named, Message1)
instance Eq1 Array where liftEq = genericLiftEq
instance Ord1 Array where liftCompare = genericLiftCompare