From 5a5f9b7f964356ed19abb92089f0c675c93589ad Mon Sep 17 00:00:00 2001 From: Tissevert Date: Fri, 12 Jun 2020 22:14:27 +0200 Subject: [PATCH] Support base as old as 4.9 --- SJW.cabal | 4 ++-- src/Main.hs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SJW.cabal b/SJW.cabal index 1ebf3dd..1a6b3b1 100644 --- a/SJW.cabal +++ b/SJW.cabal @@ -26,7 +26,7 @@ library , SJW.Module.Imports , SJW.Source build-depends: attoparsec - , base >=4.11 && <4.13 + , base >=4.9 && <4.13 , containers , directory , filepath @@ -42,7 +42,7 @@ executable sjw other-modules: Paths_SJW -- other-extensions: build-depends: attoparsec - , base >=4.11 && <4.13 + , base >=4.9 && <4.13 , optparse-applicative , SJW , text diff --git a/src/Main.hs b/src/Main.hs index 48a2dc9..0bbb519 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -2,6 +2,7 @@ module Main where import Control.Applicative (many, optional) +import Data.Monoid ((<>)) import qualified Data.Text as Text (unpack) import Data.Version (showVersion) import Options.Applicative (