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:
stack build
will build all the executables and install them in a platform-specific
subdirectory under .stack-work/install
.
cabal new-build
cabal sandbox init
cabal install --only-dependencies
cabal configure
cabal build