Hello, 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).
Cheers, Pedro [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 <[email protected]> wrote: > On Tue, Nov 17, 2009 at 12:00 PM, Simon Marlow <[email protected]> wrote: >> I've just uploaded deepseq-1.0.0.0 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 > [email protected] > http://www.haskell.org/mailman/listinfo/libraries > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
