Parallel and Concurrent Programming in Haskell

Example from the very nice "Parallel and Concurrent Programming in Haskell".