[Haskell-cafe] Don't “accidentallyparallelize”

2009-09-05 Thread Gracjan Polak
Hi all, In DEFUN 2009: Multicore Programming in Haskell Now! (http://donsbot.wordpress.com/2009/09/05/defun-2009-multicore-programming-in-haskell-now/), slide 30 I see: Don't “accidentally parallelize”: – f `par` f + e and that the correct way of achieving parallelism is: – f `par` e `pseq` f

Re: [Haskell-cafe] Don't “ accidentallyparallelize”

2009-09-05 Thread Brent Yorgey
On Sat, Sep 05, 2009 at 11:18:24AM +, Gracjan Polak wrote: Hi all, In DEFUN 2009: Multicore Programming in Haskell Now! (http://donsbot.wordpress.com/2009/09/05/defun-2009-multicore-programming-in-haskell-now/), slide 30 I see: Don't “accidentally parallelize”: – f `par` f + e