Use canonical `Monoid` instances
parent
7ce87381ae
commit
ce0aa4feec
|
@ -93,7 +93,6 @@ library {
|
||||||
-Wno-missing-local-signatures
|
-Wno-missing-local-signatures
|
||||||
-Wno-missing-safe-haskell-mode
|
-Wno-missing-safe-haskell-mode
|
||||||
-Wno-monomorphism-restriction
|
-Wno-monomorphism-restriction
|
||||||
-Wno-noncanonical-monoid-instances
|
|
||||||
-Wno-prepositive-qualified-module
|
-Wno-prepositive-qualified-module
|
||||||
-Wno-redundant-constraints
|
-Wno-redundant-constraints
|
||||||
-Wno-unsafe
|
-Wno-unsafe
|
||||||
|
|
|
@ -264,22 +264,16 @@ instance Semigroup.Semigroup (CConfig Identity) where
|
||||||
|
|
||||||
instance Monoid (CDebugConfig Maybe) where
|
instance Monoid (CDebugConfig Maybe) where
|
||||||
mempty = gmempty
|
mempty = gmempty
|
||||||
mappend = gmappend
|
|
||||||
instance Monoid (CLayoutConfig Maybe) where
|
instance Monoid (CLayoutConfig Maybe) where
|
||||||
mempty = gmempty
|
mempty = gmempty
|
||||||
mappend = gmappend
|
|
||||||
instance Monoid (CErrorHandlingConfig Maybe) where
|
instance Monoid (CErrorHandlingConfig Maybe) where
|
||||||
mempty = gmempty
|
mempty = gmempty
|
||||||
mappend = gmappend
|
|
||||||
instance Monoid (CForwardOptions Maybe) where
|
instance Monoid (CForwardOptions Maybe) where
|
||||||
mempty = gmempty
|
mempty = gmempty
|
||||||
mappend = gmappend
|
|
||||||
instance Monoid (CPreProcessorConfig Maybe) where
|
instance Monoid (CPreProcessorConfig Maybe) where
|
||||||
mempty = gmempty
|
mempty = gmempty
|
||||||
mappend = gmappend
|
|
||||||
instance Monoid (CConfig Maybe) where
|
instance Monoid (CConfig Maybe) where
|
||||||
mempty = gmempty
|
mempty = gmempty
|
||||||
mappend = gmappend
|
|
||||||
|
|
||||||
|
|
||||||
data IndentPolicy = IndentPolicyLeft -- never create a new indentation at more
|
data IndentPolicy = IndentPolicyLeft -- never create a new indentation at more
|
||||||
|
|
Loading…
Reference in New Issue