From cd949ebb56b5190fadc6d7953f7a4d80591eac77 Mon Sep 17 00:00:00 2001 From: Bodigrim Date: Sun, 24 Dec 2023 18:26:46 +0000 Subject: [PATCH] Drop support of GHC 8.0 --- .github/workflows/ci.yml | 2 +- chimera.cabal | 5 ++--- src/Data/Chimera.hs | 2 -- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 089955d..e0b5d4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - ghc: ['8.0', '8.2', '8.4', '8.6', '8.8', '8.10', '9.0', '9.2', '9.4', '9.6', '9.8'] + ghc: ['8.2', '8.4', '8.6', '8.8', '8.10', '9.0', '9.2', '9.4', '9.6', '9.8'] include: - os: windows-latest ghc: 'latest' diff --git a/chimera.cabal b/chimera.cabal index 5049701..e2badb5 100644 --- a/chimera.cabal +++ b/chimera.cabal @@ -7,9 +7,8 @@ copyright: 2017-2019 Bodigrim maintainer: andrew.lelechenko@gmail.com author: Bodigrim tested-with: - ghc ==9.8.1 ghc ==9.6.3 ghc ==9.4.7 ghc ==9.2.8 ghc ==9.0.2 + ghc ==9.8.1 ghc ==9.6.3 ghc ==9.4.8 ghc ==9.2.8 ghc ==9.0.2 ghc ==8.10.7 ghc ==8.8.4 ghc ==8.6.5 ghc ==8.4.4 ghc ==8.2.2 - ghc ==8.0.2 homepage: https://github.com/Bodigrim/chimera#readme synopsis: @@ -69,7 +68,7 @@ library default-language: Haskell2010 ghc-options: -Wall -Wcompat build-depends: - base >=4.9 && <5, + base >=4.10 && <5, infinite-list <0.2, primitive <0.10, transformers <0.7, diff --git a/src/Data/Chimera.hs b/src/Data/Chimera.hs index cb8f4e2..0eb8192 100644 --- a/src/Data/Chimera.hs +++ b/src/Data/Chimera.hs @@ -175,9 +175,7 @@ instance Applicative (Chimera V.Vector) where A.arrayFromListN (bits + 1) $ G.singleton a : map (\k -> G.replicate (1 `shiftL` k) a) [0 .. bits - 1] (<*>) = zipWithSubvectors (<*>) -#if __GLASGOW_HASKELL__ > 801 liftA2 f = zipWithSubvectors (liftA2 f) -#endif -- | @since 0.3.1.0 instance Monad (Chimera V.Vector) where