deepseq 1.4.5.0 → 1.4.6.0
raw patch · 3 files changed
+21/−3 lines, 3 filesdep ~basenew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Control/DeepSeq.hs +8/−0
- changelog.md +7/−0
- deepseq.cabal +6/−3
Control/DeepSeq.hs view
@@ -16,6 +16,11 @@ {-# LANGUAGE EmptyCase #-} #endif +#if __GLASGOW_HASKELL__ >= 811 && __GLASGOW_HASKELL__ < 901+-- For the Option instance (https://gitlab.haskell.org/ghc/ghc/issues/15028)+{-# OPTIONS_GHC -Wno-deprecations #-}+#endif+ ----------------------------------------------------------------------------- -- | -- Module : Control.DeepSeq@@ -210,6 +215,7 @@ grnf args = liftRnf (grnf args) . unComp1 infixr 0 $!!+infixr 0 `deepseq` -- | 'deepseq': fully evaluates the first argument, before returning the -- second.@@ -902,11 +908,13 @@ instance NFData1 WrappedMonoid where liftRnf r (WrapMonoid a) = r a +#if __GLASGOW_HASKELL__ < 901 -- |@since 1.4.2.0 instance NFData a => NFData (Option a) where rnf = rnf1 -- |@since 1.4.3.0 instance NFData1 Option where liftRnf r (Option a) = liftRnf r a+#endif #endif ----------------------------------------------------------------------------
changelog.md view
@@ -1,9 +1,16 @@ # Changelog for [`deepseq` package](http://hackage.haskell.org/package/deepseq) +## 1.4.6.0++ * Remove instances for Data.Semigroup.Option for GHC >= 9.2+ ([#62](https://github.com/haskell/deepseq/pull/62))+ ## 1.4.5.0 * Add `GNFData` for URec This will enable deriving NFData instances for unboxed types+ * Set `infixr 0` for `deepseq`+ Makes infix use of 'deepseq' parse the same way as infix use of 'seq' ## 1.4.4.0 *Sep 2018*
deepseq.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.12 name: deepseq-version: 1.4.5.0+version: 1.4.6.0 -- NOTE: Don't forget to update ./changelog.md license: BSD3@@ -25,7 +25,10 @@ details. build-type: Simple-tested-with: GHC==8.6.5, GHC==8.6.4,GHC==8.6.3,GHC==8.6.3,GHC==8.6.1,+tested-with: + GHC==9.2.1, GHC==9.0.1,+ GHC==8.10.7,+ GHC==8.6.5, GHC==8.6.4,GHC==8.6.3,GHC==8.6.3,GHC==8.6.1, GHC==8.4.4, GHC==8.4.3, GHC==8.4.2, GHC==8.4.1, GHC==8.2.2, GHC==8.2.1, GHC==8.0.2, GHC==8.0.1,@@ -63,7 +66,7 @@ if impl(ghc>=7.8) other-extensions: EmptyCase - build-depends: base >= 4.5 && < 4.16,+ build-depends: base >= 4.5 && < 4.17, array >= 0.4 && < 0.6 ghc-options: -Wall