@hackage / parconc-examples

Examples to accompany the book "Parallel and Concurrent Programming in Haskell"

Latest0.4.8

About

Metadata

  • Last updated , by SimonMarlow
  • License BSD-3-Clause
  • Maintained by: Simon Marlow <marlowsd@gmail.com>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    llvm (off by default)
    devil (off by default)
    cuda (off by default)
    accelerate (on by default)
    distributed (on by default)
    network26 (on by default)

Readme

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