deepseq-generics: GHC.Generics-based Control.DeepSeq.rnf implementation
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-1.4.0.0. This package is now still useful
for writing code that's also compatible with older deepseq
versions not yet providing GHC.Generics-support.
Downloads
- deepseq-generics-0.2.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.2.0.0, 0.2.0.1 |
|---|---|
| Change log | changelog.md |
| Dependencies | base (>=4.9 && <5), deepseq (>=1.2.0.1 && <1.6) [details] |
| Tested with | ghc ==9.14.1, ghc ==9.12.2, ghc ==9.10.2, ghc ==9.8.4, ghc ==9.6.7, ghc ==9.4.8, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2 |
| License | BSD-3-Clause |
| Copyright | 2012, Herbert Valerio Riedel |
| Author | Herbert Valerio Riedel |
| Maintainer | https://github.com/haskell-hvr |
| Category | Control |
| Home page | https://github.com/haskell-hvr/deepseq-generics |
| Bug tracker | https://github.com/haskell-hvr/deepseq-generics/issues |
| Source repo | head: git clone https://github.com/haskell-hvr/deepseq-generics.git |
| Uploaded | by AndreasAbel at 2025-08-27T09:55:22Z |
| Distributions | Arch:0.2.0.1, Debian:0.2.0.0, Fedora:0.2.0.0, FreeBSD:0.1.1.2, LTSHaskell:0.2.0.1, NixOS:0.2.0.0, Stackage:0.2.0.1 |
| Reverse Dependencies | 23 direct, 350 indirect [details] |
| Downloads | 48069 total (18 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2025-08-27 [all 1 reports] |