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](http://haskellstack.org)
* [A Minimal GHC installation](https://www.haskell.org/downloads)
* [The Haskell Platform](https://www.haskell.org/downloads#platform)
## 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
```
cabal sandox init
cabal install --only-dependencies
cabal configure
cabal build
```