This is the sample code to accompany the book Parallel and Concurrent Programming in Haskell (Simon Marlow, O'Reilly 2013).
To build the code on your system, you need either:
Building with Stack
will build all the executables and install them in a platform-specific
Building with Cabal
cabal sandox init cabal install --only-dependencies cabal configure cabal build