GHC.Generics-based Control.DeepSeq.rnf implementation

Latest on Hackage:[email protected]:5

See all snapshots deepseq-generics appears in

BSD-3-Clause licensed by Herbert Valerio Riedel
Maintained by [email protected]

Module documentation for

This version can be pinned in stack with:[email protected]:3f52867fe9267876504d8ce20c77dcfb2ac6613af8c915017859b6022d3cc9fd,2616
  • Control
    • Control.DeepSeq
      • Control.DeepSeq.Generics

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 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- 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(full list with versions):
Used by 4 packages in lts-0.7(full list with versions):