Proposal: Adding generics-based rnf-helper to `deepseq`

Henning Thielemann lemming at henning-thielemann.de
Fri Sep 21 11:30:52 CEST 2012


On Fri, 21 Sep 2012, Herbert Valerio Riedel wrote:

> Hello Simon (et al.),
>
> Some time ago, the `generic-deepseq` package was announced to the
> haskell-cafe list, and some discussion took place[1], and the suggestion
> came up that it might useful to be included to `deepseq` somehow.
>
> IMHO, a least introduing way (which I've been using myself) would be to
> add something along the code below to the `Control.DeepSeq` module (only
> `genericsRnf` shall be exported, thus avoiding a PVP-major-bump):

As far as I know, deepseq is currently plain Haskell 98. This would no 
longer be true with a dependency on generics. Thus I would prefer to keep 
deepseq and generic-deepseq separated.



More information about the Libraries mailing list