Skip to content

Commit

Permalink
Drop support for GHC 7
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Oct 22, 2023
1 parent 62cb3e3 commit e1e4b2f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Changes in 3.4.0.1

* Address new `x-partial` warning of GHC 9.8.
* Drop support for GHC ≤ 7.6.
* Drop support for GHC 7.
* Tested with GHC 8.0 - 9.8.1.

_Andreas Abel, 2023-10-22_
Expand Down
18 changes: 8 additions & 10 deletions alex.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ tested-with:
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
-- GHC == 7.10.3
-- GHC == 7.8.4

data-dir: data/

Expand Down Expand Up @@ -102,10 +100,12 @@ executable alex
hs-source-dirs: src
main-is: Main.hs

build-depends: base >= 4.7 && < 5
, array
, containers
, directory
build-depends:
base >= 4.9 && < 5
-- Data.List.NonEmpty entered `base` at 4.9
, array
, containers
, directory

default-language:
Haskell2010
Expand All @@ -116,9 +116,7 @@ executable alex
MagicHash
NondecreasingIndentation
OverloadedLists
ghc-options: -Wall -rtsopts
if impl(ghc >= 8.0)
ghc-options: -Wcompat
ghc-options: -Wall -Wcompat -rtsopts

other-modules:
AbsSyn
Expand Down Expand Up @@ -149,6 +147,6 @@ test-suite tests
-- This line is important as it ensures that the local `exe:alex` component declared above is built before the test-suite component is invoked, as well as making sure that `alex` is made available on $PATH and `$alex_datadir` is set accordingly before invoking `test.hs`
build-tools: alex

default-language: Haskell98
default-language: Haskell2010

build-depends: base, process

0 comments on commit e1e4b2f

Please sign in to comment.