Skip to content

Commit 774ff1a

Browse files
authored
Merge pull request #102 from tweag/ghc-922
Release 0.5.0.1
2 parents 7fe67a8 + c544c4c commit 774ff1a

File tree

8 files changed

+17
-27
lines changed

8 files changed

+17
-27
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: $NIXSHELL --run "cabal haddock"
3838

3939
stack-ghc9:
40-
name: Build on GHC 9.0
40+
name: Build on GHC 9.2
4141
runs-on: ubuntu-latest
4242
steps:
4343
- uses: actions/[email protected]

ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Revision history for capability
22

3+
## 0.5.0.1 -- 2022-03-21
4+
5+
* Fix compatibility with GHC 9.2.
6+
See [Ghc 9.2.x migration guide](https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.2#undecidableinstances-no-longer-implies-flexiblecontexts-in-instance-declarations).
7+
38
## 0.5.0.0 -- 2021-07-21
49

510
* Fix compatibility with GHC 9.0.

capability.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: capability
2-
version: 0.5.0.0
2+
version: 0.5.0.1
33
homepage: https://github.com/tweag/capability
44
license: BSD3
55
license-file: LICENSE.md
@@ -64,7 +64,7 @@ library
6464
, dlist >= 0.8 && < 1.1
6565
, exceptions >= 0.6 && < 0.11
6666
, generic-lens >= 2.0 && < 2.3
67-
, lens >= 4.16 && < 5.1
67+
, lens >= 4.16 && < 5.2
6868
, monad-control >= 1.0 && < 1.1
6969
, mtl >= 2.0 && < 3.0
7070
, mutable-containers >= 0.3 && < 0.4

src/Capability/Error.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
{-# LANGUAGE AllowAmbiguousTypes #-}
2727
{-# LANGUAGE ConstraintKinds #-}
2828
{-# LANGUAGE DerivingVia #-}
29+
{-# LANGUAGE FlexibleContexts #-}
2930
{-# LANGUAGE FlexibleInstances #-}
3031
{-# LANGUAGE FunctionalDependencies #-}
3132
{-# LANGUAGE GeneralizedNewtypeDeriving #-}

src/Capability/State/Internal/Strategies.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{-# LANGUAGE DerivingVia #-}
2+
{-# LANGUAGE FlexibleContexts #-}
23
{-# LANGUAGE FlexibleInstances #-}
34
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
45
{-# LANGUAGE InstanceSigs #-}

src/Capability/Writer.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
{-# LANGUAGE ConstraintKinds #-}
2121
{-# LANGUAGE DataKinds #-}
2222
{-# LANGUAGE DerivingVia #-}
23+
{-# LANGUAGE FlexibleContexts #-}
2324
{-# LANGUAGE FlexibleInstances #-}
2425
{-# LANGUAGE FunctionalDependencies #-}
2526
{-# LANGUAGE GeneralizedNewtypeDeriving #-}

stack-ghc9.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
resolver: nightly-2021-07-04
1+
resolver: nightly-2022-03-20
22

33
packages:
44
- .
5-
6-
extra-deps:
7-
- generic-lens-core-2.2.0.0
8-
- generic-lens-2.2.0.0

stack-ghc9.yaml.lock

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,10 @@
33
# For more information, please see the documentation at:
44
# https://docs.haskellstack.org/en/stable/lock_files
55

6-
packages:
7-
- completed:
8-
hackage: generic-lens-core-2.2.0.0@sha256:b6b69e992f15fa80001de737f41f2123059011a1163d6c8941ce2e3ab44f8c03,2913
9-
pantry-tree:
10-
size: 2202
11-
sha256: 6918fb47f34ecf4246778b229911693b6e20fc2ce94ae8c89d69a89db4e72269
12-
original:
13-
hackage: generic-lens-core-2.2.0.0
14-
- completed:
15-
hackage: generic-lens-2.2.0.0@sha256:4008a39f464e377130346e46062e2ac1211f9d2e256bbb1857216e889c7196be,3867
16-
pantry-tree:
17-
size: 2470
18-
sha256: 93d7aae1de4cbbb2e3320b357cd744618cb17356989bd417d374aa73331e7370
19-
original:
20-
hackage: generic-lens-2.2.0.0
6+
packages: []
217
snapshots:
228
- completed:
23-
size: 540164
24-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2021/7/4.yaml
25-
sha256: 195e3e9394de03e724525e210f82e30c4488f7c8a09fc70850d75d8b79332993
26-
original: nightly-2021-07-04
9+
size: 505396
10+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2022/3/20.yaml
11+
sha256: bc9df2f2f2a6bc8814a5f9976de39f8e37eaceee47f887bc72ebb2518e5d3473
12+
original: nightly-2022-03-20

0 commit comments

Comments
 (0)