deepseq: Deep evaluation of data structures
This package provides methods for fully evaluating data structures ("deep evaluation"). Deep evaluation is often used for adding strictness to a program, e.g. in order to force pending exceptions, remove space leaks, or force lazy I/O to happen. It is also useful in parallel programs, to ensure pending work does not migrate to the wrong thread.
The primary use of this package is via the deepseq
function, a
"deep" version of seq
. It is implemented on top of an NFData
typeclass ("Normal Form Data", data structures with no unevaluated
components) which defines strategies for fully evaluating different
data types.
If you want to automatically derive NFData
instances via the
GHC.Generics facility, there is a companion package
deepseq-generics
which builds on top of this package.
Downloads
- deepseq-1.3.0.2.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 1.0.0.0, 1.1.0.0, 1.1.0.1, 1.1.0.2, 1.2.0.0, 1.2.0.1, 1.3.0.0, 1.3.0.1, 1.3.0.2, 1.4.0.0, 1.4.1.0, 1.4.1.1, 1.4.1.2, 1.4.2.0, 1.4.3.0, 1.4.4.0, 1.4.5.0, 1.4.6.0, 1.4.6.1, 1.4.7.0, 1.4.8.0, 1.4.8.1, 1.5.0.0, 1.5.1.0, 1.6.0.0 (info) |
---|---|
Change log | changelog |
Dependencies | array (>=0.3 && <0.6), base (>=4.3 && <4.8) [details] |
Tested with | ghc ==7.6.3, ghc ==7.6.2, ghc ==7.6.1, ghc ==7.4.2, ghc ==7.4.1, ghc ==7.2.2, ghc ==7.2.1, ghc ==7.0.4, ghc ==7.0.3, ghc ==7.0.2, ghc ==7.0.1 |
License | BSD-3-Clause |
Author | |
Maintainer | libraries@haskell.org |
Revised | Revision 1 made by HerbertValerioRiedel at 2014-10-16T07:40:58Z |
Category | Control |
Bug tracker | https://github.com/haskell/deepseq/issues |
Source repo | head: git clone https://github.com/haskell/deepseq.git this: git clone http://git.haskell.org/packages/deepseq.git(tag deepseq-1.3.0.2-release) |
Uploaded | by HerbertValerioRiedel at 2013-11-05T18:36:29Z |
Distributions | Arch:1.4.8.0, Fedora:1.4.8.1 |
Reverse Dependencies | 1460 direct, 13653 indirect [details] |
Downloads | 65878 total (68 in the last 30 days) |
Rating | 2.5 (votes: 3) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Successful builds reported [all 1 reports] |