aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2018-12-14 17:26:02 +0100
committerFélix Sipma <felix.sipma@no-log.org>2018-12-14 17:26:02 +0100
commit890722d81978271800ba88732fcacd0d8cda5e3f (patch)
tree61c8e94cb878d5ac6601317b4cc799313217cc77
parentb792bff950b2ebc6ed2123cac86ad21ac95ffb35 (diff)
ghc compatibility fix: import Data.Semigroup
-rw-r--r--src/Config/InternalConfig.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Config/InternalConfig.hs b/src/Config/InternalConfig.hs
index 8e28ef5..734ff34 100644
--- a/src/Config/InternalConfig.hs
+++ b/src/Config/InternalConfig.hs
@@ -22,6 +22,8 @@ import Protolude
import Path
import Types
import Filter
+import qualified Data.Semigroup as Sem
+
data InternalConfig = InternalConfig
@@ -55,7 +57,7 @@ instance Monoid InternalConfig where
, internalConfigTopicLength = Nothing
, internalConfigLogLevel = Nothing
}
- mappend l r = l <> r
+ mappend = (Sem.<>)
mkInternalConfig :: InternalConfig
mkInternalConfig = InternalConfig Nothing Nothing Nothing Nothing Nothing Nothing Nothing