Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GHC 9.8.2 #135

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 3 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,9 @@ jobs:
- "8.10.7"
- "9.0.2"
- "9.2.4"
- "9.4.2"
exclude:
- os: macOS-latest
ghc: 9.2.4
- os: macOS-latest
ghc: 9.0.2
- os: macOS-latest
ghc: 8.10.7
- os: macOS-latest
ghc: 8.8.4
- os: macOS-latest
ghc: 8.6.5
- os: macOS-latest
ghc: 8.4.4
- os: macOS-latest
ghc: 8.2.2

- os: windows-latest
ghc: 9.2.4
- os: windows-latest
ghc: 9.0.2
- os: windows-latest
ghc: 8.10.7
- os: windows-latest
ghc: 8.8.4
- os: windows-latest
ghc: 8.6.5
- os: windows-latest
ghc: 8.4.4
- os: windows-latest
ghc: 8.2.2
- "9.4.8"
- "9.6.6"
- "9.8.2"

steps:
- uses: actions/checkout@v4
Expand Down
31 changes: 16 additions & 15 deletions typerep-map.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: typerep-map
version: 0.6.0.0
version: 0.6.1.0
synopsis: Efficient implementation of a dependent map with types as keys
description:
A dependent map from type representations to values of these types.
Expand Down Expand Up @@ -36,13 +36,14 @@ tested-with: GHC == 8.2.2
, GHC == 9.0.2
, GHC == 9.2.4
, GHC == 9.4.2
, GHC == 9.8.2

source-repository head
type: git
location: https://github.com/kowainik/typerep-map.git

common common-options
build-depends: base >= 4.10 && < 4.18
build-depends: base >= 4.10 && < 4.20

default-language: Haskell2010
default-extensions: BangPatterns
Expand Down Expand Up @@ -79,9 +80,9 @@ library
Data.TypeRepMap
Data.TypeRepMap.Internal

build-depends: ghc-prim >= 0.5.1.1 && < 0.10
, primitive ^>= 0.7.0
, deepseq ^>= 1.4
build-depends: ghc-prim >= 0.5.1.1 && < 0.12
, primitive >= 0.7.0 && < 0.10
, deepseq >= 1.4 && < 1.7

library typerep-extra-impls
import: common-options
Expand All @@ -92,7 +93,7 @@ library typerep-extra-impls

build-depends: containers >= 0.5.10.2 && < 0.7
, vector >= 0.12.0.1 && < 0.14
, deepseq ^>= 1.4
, deepseq >= 1.4 && < 1.7

test-suite typerep-map-test
import: common-options
Expand All @@ -106,10 +107,10 @@ test-suite typerep-map-test
, Test.TypeRep.Vector
, Test.TypeRep.VectorOpt

build-depends: ghc-typelits-knownnat >= 0.4.2 && < 0.8
, hedgehog >= 1.0 && < 1.3
, hspec >= 2.7.1 && < 2.11
, hspec-hedgehog ^>= 0.0.1
build-depends: ghc-typelits-knownnat >= 0.4.2
, hedgehog >= 1.0
, hspec >= 2.7.1
, hspec-hedgehog >= 0.0.1
, typerep-map
, typerep-extra-impls

Expand All @@ -128,11 +129,11 @@ benchmark typerep-map-benchmark
, Vector
, OptimalVector

build-depends: criterion >= 1.4.1.0 && < 1.7
, deepseq ^>= 1.4.3.0
, dependent-map >= 0.2.4.0 && < 0.5
, dependent-sum >= 0.5 && < 0.8
, ghc-typelits-knownnat >= 0.4.2 && < 0.8
build-depends: criterion >= 1.4.1.0
, deepseq >= 1.4 && < 1.7
, dependent-map >= 0.2.4.0
, dependent-sum >= 0.5
, ghc-typelits-knownnat >= 0.4.2
, typerep-map
, typerep-extra-impls

Expand Down