1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00

We don’t need DeriveAnyClass or StandaloneDeriving for these.

This commit is contained in:
Rob Rix 2018-07-20 10:07:24 -04:00
parent 926e32db29
commit d6eb959726

View File

@ -1,4 +1,4 @@
{-# LANGUAGE DefaultSignatures, DeriveAnyClass, StandaloneDeriving, TypeOperators, UndecidableInstances #-}
{-# LANGUAGE DefaultSignatures, TypeOperators, UndecidableInstances #-}
module Data.Mergeable ( Mergeable (..) ) where
import Control.Applicative
@ -80,10 +80,10 @@ instance (GMergeable f, GMergeable g) => GMergeable (f :*: g) where
-- Orphan instances
deriving instance Mergeable Comment.Comment
deriving instance Mergeable Declaration.Function
deriving instance Mergeable Declaration.Method
deriving instance Mergeable Statement.If
deriving instance Mergeable Syntax.Context
deriving instance Mergeable Syntax.Empty
deriving instance Mergeable Syntax.Identifier
instance Mergeable Comment.Comment
instance Mergeable Declaration.Function
instance Mergeable Declaration.Method
instance Mergeable Statement.If
instance Mergeable Syntax.Context
instance Mergeable Syntax.Empty
instance Mergeable Syntax.Identifier