[Haskell-cafe] Re: ANNOUNCE: deepseq-220.127.116.11
heringtonlacey at mindspring.com
Tue Nov 17 22:48:19 EST 2009
At 11:00 AM +0000 11/17/09, Simon Marlow wrote:
>I've just uploaded deepseq-18.104.22.168 to Hackage
>This provides a DeepSeq class with a deepseq method, equivalent to
>the existing NFData/rnf in the parallel package. I'll be using this
>in a newly revamped parallel package, which I hope to upload shortly.
The documentation claim that "The default implementation of 'deepseq'
is simply 'seq'" is not exactly right, as `deepseq` and `seq` have
different signatures. Which raises the more interesting question:
Why did you choose a different signature? And, would a version of
`seq` with the same signature as `deepseq` be useful?
More information about the Haskell-Cafe