[Haskell-cafe] ANNOUNCE: deepseq-

José Pedro Magalhães jpm at cs.uu.nl
Tue Nov 17 06:16:57 EST 2009


The release of the regular library for generic programming on Hackage
[1] also contains a form of deep seq [2]. This means that you don't
even have to write the definition of 'deepseq', you can just use
'gdseq' (assuming you have used Template Haskell to derive the generic
representations for your types).


[1] http://hackage.haskell.org/package/regular
[2] http://hackage.haskell.org/packages/archive/regular/0.2.1/doc/html/Generics-Regular-Functions-Seq.html#t%3ASeq

On Tue, Nov 17, 2009 at 12:04, Roel van Dijk <vandijk.roel at gmail.com> wrote:
> On Tue, Nov 17, 2009 at 12:00 PM, Simon Marlow <marlowsd at gmail.com> wrote:
>> I've just uploaded deepseq- to Hackage
> This is great! I often use rnf to fully evaluate some expression where
> I didn't need parallelism at all. Time to update some packages.
> Thank you,
> Roel
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries

More information about the Haskell-Cafe mailing list