Package0.2.0.0Control
deepseq-generics
GHC.Generics-based Control.DeepSeq.rnf implementation
- Version0.2.0.0
- CategoryControl
- LicenceBSD-3-Clause
- AuthorHerbert Valerio Riedel
- Maintainerhttps://github.com/haskell-hvr
- Homepagegithub.com/haskell-hvr/deepseq-generics
- Pinned byhackage deepseq-generics 0.2.0.0
- Sourcehackage.haskell.org/package/deepseq-generics-0.2.0.0
Modules
1 module- Control.DeepSeq.Generics2NOTE: Starting with deepseq-1.4.0.0, NFData gained support
Description
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.
Depends on
3 packages- base-4.20.2.0with GHC
- deepseq-1.5.0.0with GHC
- ghc-prim-0.12.0with GHC
Used by in this set · 0
Nothing in this set depends on it.