documentation in GHC.Conc, Control.Parallel.Strategies; querying number of CPUs

Malcolm Wallace Malcolm.Wallace at
Mon Jul 16 12:16:29 EDT 2007

Frederik Eaton <frederik at> wrote:

> In particular, I wonder: How is pseq different from seq? Under what
> circumstances is it used?

`pseq` is a "genuine" operational sequence operator.  Haskell'98's
    x `seq` y
does not guarantee that x is evaluated to WHNF before y, whereas `pseq`
does guarantee exactly this.


More information about the Libraries mailing list