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