
On 17/11/2009 18:42, Brandon S. Allbery KF8NH wrote:
On Nov 17, 2009, at 11:36 , Bryan O'Sullivan wrote:
On Tue, Nov 17, 2009 at 3:00 AM, Simon Marlow
mailto:marlowsd@gmail.com> wrote: I've just uploaded deepseq-1.0.0.0 to Hackage
http://hackage.haskell.org/package/deepseq
This provides a DeepSeq class with a deepseq method, equivalent to the existing NFData/rnf in the parallel package. http://www.haskell.org/mailman/listinfo/haskell-cafe
If it's equivalent, what are the relevant differences? Why would I choose DeepSeq over NFData or vice versa?
Considering that he said he's going to be using it in parallel, the difference is merely that it's usable *without* parallel. It's about dependencies, not functionality.
Yes, that's exactly it. No new functionality relative to NFData, just moving it to a more appropriate place. Cheers, Simon