[commit: packages/deepseq] down, master, travis-tests, wip/remove_ghc70_72_cpp: Minor version bump (9243b9b)

git at git.haskell.org git at git.haskell.org
Wed Jul 19 21:58:53 UTC 2017


Repository : ssh://git@git.haskell.org/deepseq

On branches: down,master,travis-tests,wip/remove_ghc70_72_cpp
Link       : http://git.haskell.org/packages/deepseq.git/commitdiff/9243b9b8f65f9a46af15ecc167ca9f6b574f6ba5

>---------------------------------------------------------------

commit 9243b9b8f65f9a46af15ecc167ca9f6b574f6ba5
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date:   Tue Aug 16 08:31:28 2016 -0400

    Minor version bump


>---------------------------------------------------------------

9243b9b8f65f9a46af15ecc167ca9f6b574f6ba5
 changelog.md  | 9 +++++++++
 deepseq.cabal | 6 +++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/changelog.md b/changelog.md
index eb53420..4fad76e 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,14 @@
 # Changelog for [`deepseq` package](http://hackage.haskell.org/package/deepseq)
 
+## 1.4.3.0 *TBD*
+
+  * Changed behavior of generic `NFData` instances for constructor-less data
+    types. Before, a generic `rnf` implementation would always `error` on a
+    data type with no constructors. Now, it will force the argument, so if
+    the argument is a diverging computation, a generic `rnf` implementation
+    will actually trigger the diverging computation.
+    ([#19](https://github.com/haskell/deepseq/issues/19))
+
 ## 1.4.2.0  *Apr 2016*
 
   * Bundled with GHC 8.0.1
diff --git a/deepseq.cabal b/deepseq.cabal
index 0bd8aa9..849c7db 100644
--- a/deepseq.cabal
+++ b/deepseq.cabal
@@ -1,5 +1,5 @@
 name:           deepseq
-version:        1.4.2.0
+version:        1.4.3.0
 -- NOTE: Don't forget to update ./changelog.md
 license:        BSD3
 license-file:   LICENSE
@@ -53,6 +53,10 @@ library
     if impl(ghc < 7.6)
       build-depends: ghc-prim == 0.2.*
 
+  if impl(ghc>=7.8)
+    other-extensions:
+      EmptyCase
+
   if impl(ghc < 7.4)
     build-depends: array < 0.4
 



More information about the ghc-commits mailing list