Skip to content

Commit

Permalink
Merge pull request #102 from tweag/ghc-922
Browse files Browse the repository at this point in the history
Release 0.5.0.1
  • Loading branch information
aherrmann authored Mar 21, 2022
2 parents 7fe67a8 + c544c4c commit 774ff1a
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: $NIXSHELL --run "cabal haddock"

stack-ghc9:
name: Build on GHC 9.0
name: Build on GHC 9.2
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Revision history for capability

## 0.5.0.1 -- 2022-03-21

* Fix compatibility with GHC 9.2.
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).

## 0.5.0.0 -- 2021-07-21

* Fix compatibility with GHC 9.0.
Expand Down
4 changes: 2 additions & 2 deletions capability.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: capability
version: 0.5.0.0
version: 0.5.0.1
homepage: https://github.com/tweag/capability
license: BSD3
license-file: LICENSE.md
Expand Down Expand Up @@ -64,7 +64,7 @@ library
, dlist >= 0.8 && < 1.1
, exceptions >= 0.6 && < 0.11
, generic-lens >= 2.0 && < 2.3
, lens >= 4.16 && < 5.1
, lens >= 4.16 && < 5.2
, monad-control >= 1.0 && < 1.1
, mtl >= 2.0 && < 3.0
, mutable-containers >= 0.3 && < 0.4
Expand Down
1 change: 1 addition & 0 deletions src/Capability/Error.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
{-# LANGUAGE AllowAmbiguousTypes #-}
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
Expand Down
1 change: 1 addition & 0 deletions src/Capability/State/Internal/Strategies.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE InstanceSigs #-}
Expand Down
1 change: 1 addition & 0 deletions src/Capability/Writer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
Expand Down
6 changes: 1 addition & 5 deletions stack-ghc9.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
resolver: nightly-2021-07-04
resolver: nightly-2022-03-20

packages:
- .

extra-deps:
- generic-lens-core-2.2.0.0
- generic-lens-2.2.0.0
24 changes: 5 additions & 19 deletions stack-ghc9.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,10 @@
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files

packages:
- completed:
hackage: generic-lens-core-2.2.0.0@sha256:b6b69e992f15fa80001de737f41f2123059011a1163d6c8941ce2e3ab44f8c03,2913
pantry-tree:
size: 2202
sha256: 6918fb47f34ecf4246778b229911693b6e20fc2ce94ae8c89d69a89db4e72269
original:
hackage: generic-lens-core-2.2.0.0
- completed:
hackage: generic-lens-2.2.0.0@sha256:4008a39f464e377130346e46062e2ac1211f9d2e256bbb1857216e889c7196be,3867
pantry-tree:
size: 2470
sha256: 93d7aae1de4cbbb2e3320b357cd744618cb17356989bd417d374aa73331e7370
original:
hackage: generic-lens-2.2.0.0
packages: []
snapshots:
- completed:
size: 540164
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2021/7/4.yaml
sha256: 195e3e9394de03e724525e210f82e30c4488f7c8a09fc70850d75d8b79332993
original: nightly-2021-07-04
size: 505396
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2022/3/20.yaml
sha256: bc9df2f2f2a6bc8814a5f9976de39f8e37eaceee47f887bc72ebb2518e5d3473
original: nightly-2022-03-20

0 comments on commit 774ff1a

Please sign in to comment.