From 134f31e4d18e51a7cd3d5bcaa90af92e70b926ce Mon Sep 17 00:00:00 2001 From: Lennart Spitzner <lsp@informatik.uni-kiel.de> Date: Wed, 5 Jul 2017 00:08:21 +0200 Subject: [PATCH] Add Semigroup instances for C*Config Identity --- .../Haskell/Brittany/Internal/Config/Types.hs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Language/Haskell/Brittany/Internal/Config/Types.hs b/src/Language/Haskell/Brittany/Internal/Config/Types.hs index 43f6695..18fc30f 100644 --- a/src/Language/Haskell/Brittany/Internal/Config/Types.hs +++ b/src/Language/Haskell/Brittany/Internal/Config/Types.hs @@ -153,6 +153,19 @@ instance Semigroup.Semigroup (CPreProcessorConfig Option) where instance Semigroup.Semigroup (CConfig Option) where (<>) = gmappend +instance Semigroup.Semigroup (CDebugConfig Identity) where + (<>) = gmappend +instance Semigroup.Semigroup (CLayoutConfig Identity) where + (<>) = gmappend +instance Semigroup.Semigroup (CErrorHandlingConfig Identity) where + (<>) = gmappend +instance Semigroup.Semigroup (CForwardOptions Identity) where + (<>) = gmappend +instance Semigroup.Semigroup (CPreProcessorConfig Identity) where + (<>) = gmappend +instance Semigroup.Semigroup (CConfig Identity) where + (<>) = gmappend + instance Monoid (CDebugConfig Option) where mempty = gmempty mappend = gmappend