#5468: Implement deepseq->{array,containers} dependancy reversal proposal
---------------------------------+------------------------------------------
Reporter: hvr | Owner: simonmar
Type: task | Status: new
Priority: normal | Component: libraries (other)
Version: | Keywords: deepseq
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by hvr):
Here are the commit messages of the attached patches as Trac ticket
comment for convenience:
{{{
Subject: [PATCH 1/2] Remove dependancy and instances for array and
container package
See #5468 for more information about the rationale of this change.
Note: This also bumps the package version from `1.1.1.0` to `1.3.0.0`,
thus skipping the major version `1.2` on purpose in order to allow for
an interim release to implement changes such as adding additional
`NFData` instances for `base` (see #5465 for instance).
---
Control/DeepSeq.hs | 24 ------------------------
deepseq.cabal | 6 ++----
2 files changed, 2 insertions(+), 28 deletions(-)
}}}
{{{
Subject: [PATCH 2/2] Enable SafeHaskell for GHC >= 7.2
This is done since by addressing #5468 `deepseq` is becoming a GHC
boot package. This simplifies compilation of the `containers` package
which uses SafeHaskell itself and as per #5468 will be made to import
`deepseq`.
---
Control/DeepSeq.hs | 3 +++
deepseq.cabal | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
}}}
{{{
Subject: [PATCH] Implement NFData instance for Array
The implementation is basically the same that was formely
defined in the `deepseq` package.
This adds a dependancy to the `deepseq` package
See #5468 for more information about this change.
---
Data/Array.hs | 5 +++++
array.cabal | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
}}}
{{{
Subject: [PATCH] Implement NFData instances for container types
This adds a dependancy on the `deepseq` package and implements `NFData`
instances for `Map`, `IntMap`, `Set`, `IntSet` and `Tree`. Also the
package
version is bumped to `0.4.0.0` since instances are added.
See #5468 for more information about this change.
---
Data/IntMap.hs | 6 ++++++
Data/IntSet.hs | 10 ++++++++++
Data/Map.hs | 5 +++++
Data/Set.hs | 9 +++++++++
Data/Tree.hs | 4 ++++
containers.cabal | 4 ++--
6 files changed, 36 insertions(+), 2 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5468#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs