Re: [Haskell-cafe] ANNOUNCE: deepseq-1.0.0.0

2009-11-28 Thread Nicolas Pouillard
Excerpts from Simon Marlow's message of Wed Nov 18 09:55:28 +0100 2009:
 On 17/11/2009 12:25, Nicolas Pouillard wrote:
  Excerpts from Simon Marlow's message of Tue Nov 17 12:00:21 +0100 2009:
  I've just uploaded deepseq-1.0.0.0 to Hackage
 
  Great!
 
  I'm wondering what is the need/purpose for DeepSeqIntegral and DeepSeqOrd?
 
 I don't actually know, they were previously NFDataIntegral and NFDataOrd 
 respectively.  Unless anyone can think of a reason to want these, I'll 
 remove them.

No one claimed for them, I think and are just useless, and thus confusing.

Best regards,

-- 
Nicolas Pouillard
http://nicolaspouillard.fr
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANNOUNCE: deepseq-1.0.0.0

2009-11-28 Thread Simon Marlow

On 28/11/09 14:04, Nicolas Pouillard wrote:

Excerpts from Simon Marlow's message of Wed Nov 18 09:55:28 +0100 2009:

On 17/11/2009 12:25, Nicolas Pouillard wrote:

Excerpts from Simon Marlow's message of Tue Nov 17 12:00:21 +0100 2009:

I've just uploaded deepseq-1.0.0.0 to Hackage


Great!

I'm wondering what is the need/purpose for DeepSeqIntegral and DeepSeqOrd?


I don't actually know, they were previously NFDataIntegral and NFDataOrd
respectively.  Unless anyone can think of a reason to want these, I'll
remove them.


No one claimed for them, I think and are just useless, and thus confusing.


Already gone in deepseq-1.1.0.0, which also renamed DeepSeq back to NFData.

Cheers,
Simon

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANNOUNCE: deepseq-1.0.0.0

2009-11-18 Thread Simon Marlow

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 marlo...@gmail.com
mailto:marlo...@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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANNOUNCE: deepseq-1.0.0.0

2009-11-18 Thread Simon Marlow

On 17/11/2009 12:25, Nicolas Pouillard wrote:

Excerpts from Simon Marlow's message of Tue Nov 17 12:00:21 +0100 2009:

I've just uploaded deepseq-1.0.0.0 to Hackage


Great!

I'm wondering what is the need/purpose for DeepSeqIntegral and DeepSeqOrd?


I don't actually know, they were previously NFDataIntegral and NFDataOrd 
respectively.  Unless anyone can think of a reason to want these, I'll 
remove them.


Cheers,
Simon
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANNOUNCE: deepseq-1.0.0.0

2009-11-17 Thread Roel van Dijk
On Tue, Nov 17, 2009 at 12:00 PM, Simon Marlow marlo...@gmail.com wrote:
 I've just uploaded deepseq-1.0.0.0 to Hackage

This is great! I often use rnf to fully evaluate some expression where
I didn't need parallelism at all. Time to update some packages.

Thank you,
Roel
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANNOUNCE: deepseq-1.0.0.0

2009-11-17 Thread José Pedro Magalhães
Hello,

The release of the regular library for generic programming on Hackage
[1] also contains a form of deep seq [2]. This means that you don't
even have to write the definition of 'deepseq', you can just use
'gdseq' (assuming you have used Template Haskell to derive the generic
representations for your types).


Cheers,
Pedro

[1] http://hackage.haskell.org/package/regular
[2] 
http://hackage.haskell.org/packages/archive/regular/0.2.1/doc/html/Generics-Regular-Functions-Seq.html#t%3ASeq

On Tue, Nov 17, 2009 at 12:04, Roel van Dijk vandijk.r...@gmail.com wrote:
 On Tue, Nov 17, 2009 at 12:00 PM, Simon Marlow marlo...@gmail.com wrote:
 I've just uploaded deepseq-1.0.0.0 to Hackage

 This is great! I often use rnf to fully evaluate some expression where
 I didn't need parallelism at all. Time to update some packages.

 Thank you,
 Roel
 ___
 Libraries mailing list
 librar...@haskell.org
 http://www.haskell.org/mailman/listinfo/libraries

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANNOUNCE: deepseq-1.0.0.0

2009-11-17 Thread Nicolas Pouillard
Excerpts from Simon Marlow's message of Tue Nov 17 12:00:21 +0100 2009:
 I've just uploaded deepseq-1.0.0.0 to Hackage

Great!

I'm wondering what is the need/purpose for DeepSeqIntegral and DeepSeqOrd?

-- 
Nicolas Pouillard
http://nicolaspouillard.fr
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANNOUNCE: deepseq-1.0.0.0

2009-11-17 Thread Bryan O'Sullivan
On Tue, Nov 17, 2009 at 3:00 AM, Simon Marlow marlo...@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?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANNOUNCE: deepseq-1.0.0.0

2009-11-17 Thread Brandon S. Allbery KF8NH

On Nov 17, 2009, at 11:36 , Bryan O'Sullivan wrote:
On Tue, Nov 17, 2009 at 3:00 AM, Simon Marlow marlo...@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.


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.


--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon universityKF8NH




PGP.sig
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe