[Haskell-cafe] Re: ANNOUNCE: deepseq-22.214.171.124
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-126.96.36.199 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