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

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


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

> Henning Thielemann <lemming at henning-thielemann.de> writes:
>
>> 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.
>
> that's right (although one could make that an optional feature of the
> `deepseq` package, depending on the availability of the
> generics-feature, so that `deepseq` could still build with a pure H98
> compiler)

And how would one write packages that depend on deepseq, that can be 
compiled easily on both, say, GHC and JHC?



More information about the Libraries mailing list