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.
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.
|Versions||22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52|
|Dependencies||array (>=0.3 && <0.6), base (>=4.3 && <4.8)|
|Source repository||head: git clone http://git.haskell.org/packages/deepseq.git|
this: git clone http://git.haskell.org/packages/deepseq.git(tag deepseq-184.108.40.206-release)
|Upload date||Tue Nov 5 18:36:29 UTC 2013|
|Downloads||11699 total (878 in last 30 days)|
For package maintainers and hackage trustees