The deepseq package
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.
Properties
| Versions | 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 |
|---|---|
| Dependencies | array (≥0.1 & <0.4), base (≥3 & <5) |
| License | BSD3 |
| Maintainer | libraries@haskell.org |
| Category | Control |
| Source repository | git clone http://darcs.haskell.org/packages/deepseq.git/ |
| Upload date | Thu Sep 8 12:40:25 UTC 2011 |
| Uploaded by | IanLynagh |
| Built on | ghc-7.4 |
| Distributions | Fedora: 1.3.0.0, NixOS: 1.3.0.1, Debian: 1.1.0.0 |
Modules
- Control
Downloads
- deepseq-1.2.0.1.tar.gz (Cabal source package)
- package description (included in the package)