Generics-based normal form reduction for deepseq
23.52 KB
built 2026-10-14 00:01:01 GMT
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.
Dependencies
8 totalRequires6
- ghc-Cabal-devel
- ghc-base-devel
- ghc-deepseq-devel
- ghc-rpm-macros
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- ghc-deepseq-generics = 0.2.0.1-2.fc45
- ghc-deepseq-generics-devel = 0.2.0.1-2.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| deepseq-generics-0.2.0.1.tar.gz | 5.03 KB |
| ghc-deepseq-generics.spec | 8.82 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
