From 5a5f9b7f964356ed19abb92089f0c675c93589ad Mon Sep 17 00:00:00 2001 From: Tissevert Date: Fri, 12 Jun 2020 22:14:27 +0200 Subject: [PATCH 1/2] 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 ( From 3c4fef28c08c3688d096d1acb72af5e27192b0c6 Mon Sep 17 00:00:00 2001 From: Tissevert Date: Thu, 10 Sep 2020 15:18:04 +0200 Subject: [PATCH 2/2] Known to compile with base up to 4.15 --- SJW.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SJW.cabal b/SJW.cabal index 1a6b3b1..ddb8130 100644 --- a/SJW.cabal +++ b/SJW.cabal @@ -26,7 +26,7 @@ library , SJW.Module.Imports , SJW.Source build-depends: attoparsec - , base >=4.9 && <4.13 + , base >=4.9 && <4.15 , containers , directory , filepath @@ -42,7 +42,7 @@ executable sjw other-modules: Paths_SJW -- other-extensions: build-depends: attoparsec - , base >=4.9 && <4.13 + , base >=4.9 && <4.15 , optparse-applicative , SJW , text