Proposal #3537: Add missing NFData instances to parallel

Simon Marlow marlowsd at gmail.com
Thu Sep 24 08:18:14 EDT 2009


On 24/09/2009 10:53, Roel van Dijk wrote:
>> what's wrong with
>>
>> instance NFData (Data.IORef.IORef a) where
>>     rnf r = r `seq` ()
>
> Ah, you are right. I was being to clever for my own good :-) Perhaps
> it works for all types where I used the "rnf x = rnf (x == x)"
> trick. Should I attach a new patch to the ticket with those
> definitions changed?

Sure, that would be helpful.

Cheers,
	Simon



More information about the Libraries mailing list