Support base as old as 4.9

This commit is contained in:
Tissevert 2020-06-12 22:14:27 +02:00
parent 70bcc60ed5
commit 5a5f9b7f96
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ library
, SJW.Module.Imports , SJW.Module.Imports
, SJW.Source , SJW.Source
build-depends: attoparsec build-depends: attoparsec
, base >=4.11 && <4.13 , base >=4.9 && <4.13
, containers , containers
, directory , directory
, filepath , filepath
@ -42,7 +42,7 @@ executable sjw
other-modules: Paths_SJW other-modules: Paths_SJW
-- other-extensions: -- other-extensions:
build-depends: attoparsec build-depends: attoparsec
, base >=4.11 && <4.13 , base >=4.9 && <4.13
, optparse-applicative , optparse-applicative
, SJW , SJW
, text , text

View File

@ -2,6 +2,7 @@
module Main where module Main where
import Control.Applicative (many, optional) import Control.Applicative (many, optional)
import Data.Monoid ((<>))
import qualified Data.Text as Text (unpack) import qualified Data.Text as Text (unpack)
import Data.Version (showVersion) import Data.Version (showVersion)
import Options.Applicative ( import Options.Applicative (