The deepseq-generics package
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
This package provides a GHC.Generics-based Control.DeepSeq.Generics.genericRnf function which can be used for providing a rnf implementation. See the documentation for the genericRnf function in the Control.DeepSeq.Generics module to get started.
The original idea was pioneered in the generic-deepseq package (see http://www.haskell.org/pipermail/haskell-cafe/2012-February/099551.html for more information).
This package differs from the generic-deepseq package by working in combination with the existing deepseq package as opposed to defining a conflicting drop-in replacement for deepseq's Control.Deepseq module.
Note: The ability to auto-derive via GHC.Generics has been merged into deepseq-18.104.22.168. This package is now still useful for writing code that's also compatible with older deepseq versions not yet providing GHC.Generics-support.
|Versions||0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.2, 0.2.0.0|
|Dependencies||base (>=4.5 && <4.9), deepseq (>=22.214.171.124 && <1.5), ghc-prim (>=0.2 && <0.4) [details]|
|Copyright||2012, Herbert Valerio Riedel|
|Author||Herbert Valerio Riedel|
|Source repository||head: git clone https://github.com/hvr/deepseq-generics.git|
|Uploaded||Wed Dec 17 12:16:21 UTC 2014 by HerbertValerioRiedel|
- deepseq-generics-0.1.1.2.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees