From: Michael Orlitzky Date: Mon, 3 Feb 2020 20:58:11 +0000 (-0500) Subject: src/OptionalConfiguration.hs: import (<>) from the Semigroup class. X-Git-Tag: 0.0.5~1 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=2924d6a843aa0d4a0d9612a5d2e1e1203931302e;p=mailbox-count.git src/OptionalConfiguration.hs: import (<>) from the Semigroup class. Ha ha, although Data.Semigroup was moved into GHC in v8.0, it wasn't added to Prelude until v8.4. So there's a THIRD distinct situation we need to handle to define a friggin monoid. --- diff --git a/src/OptionalConfiguration.hs b/src/OptionalConfiguration.hs index 31aa7f1..d962792 100644 --- a/src/OptionalConfiguration.hs +++ b/src/OptionalConfiguration.hs @@ -20,7 +20,7 @@ import qualified Data.Configurator as DC ( lookup ) import Data.Data ( Data ) import Data.Monoid ( Monoid() ) -import Data.Semigroup ( Semigroup() ) +import Data.Semigroup ( Semigroup( (<>) ) ) import Paths_mailbox_count ( getSysconfDir ) import System.Directory ( getHomeDirectory ) import System.FilePath ( () )