general-allocate 0.2.1.0 → 0.2.1.1
raw patch · 3 files changed
+10/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- general-allocate.cabal +1/−1
- src/Control/Monad/With.hs +5/−1
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for general-allocate +## 0.2.1.1 -- 2023-01-17++* Warn about https://gitlab.haskell.org/ghc/ghc/-/issues/16478 in `MonadWithExceptable` haddock+ ## 0.2.1.0 -- 2023-01-17 * Make `MonadWithExceptable` a newclass for use with QuantifiedConstraints
general-allocate.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: general-allocate-version: 0.2.1.0+version: 0.2.1.1 license: Apache-2.0 license-file: LICENSE author: Shea Levy
src/Control/Monad/With.hs view
@@ -141,7 +141,11 @@ alloc = GeneralAllocate $ \_ → pure $ GeneralAllocated () rel rel _ = fin --- | A 'MonadWith' whose exception type can be projected into the Haskell exception hierarchy+{- | A 'MonadWith' whose exception type can be projected into the Haskell exception hierarchy++Until https://gitlab.haskell.org/ghc/ghc/-/issues/16478 is fixed, you probably want to+add @{\-# OPTIONS_GHC -Wno-simplifiable-class-constraints #-\}@ to modules using this.+-} class (MonadWith m, Exceptable (WithException m)) ⇒ MonadWithExceptable m instance (MonadWith m, Exceptable (WithException m)) ⇒ MonadWithExceptable m