Use canonical `Monoid` instances

pull/357/head
Taylor Fausak 2021-11-06 17:37:47 +00:00 committed by GitHub
parent 7ce87381ae
commit ce0aa4feec
2 changed files with 0 additions and 7 deletions

View File

@ -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

View File

@ -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