[Haskell-cafe] ANNOUNCE: deepseq-1.0.0.0

Simon Marlow marlowsd at gmail.com
Wed Nov 18 03:53:31 EST 2009


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 <marlowsd at gmail.com
>> <mailto:marlowsd at 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


More information about the Haskell-Cafe mailing list