Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Programming with LVars, by example
branch: master

Programming with LVars, by example

Build Status

LVars are monotonically growing, lattice-based data structures for deterministic parallel programming. LVish is a Haskell library for programming with LVars. This repository contains toy examples of programs that use LVars and LVish, as well as a few that don't use LVars but are there for illustrative purposes.


The code has been tested to build against GHC 7.8.1, 7.8.2, and 7.8.3. You should probably use one of those.

Installing LVish

You can install LVish from Hackage by running cabal install lvish (perhaps preceded by cabal update). That will install the most recently released version, which, as of this writing, is lvish-1.1.4.

If you want the newest, unreleased version of lvish -- which has more cool features than the 1.x releases do -- you'll have to install it from git, which is why this repository has the lvars repo as a submodule. There are also various dependencies that need to be installed -- if you have trouble, I recommend looking at what the .travis.yml script does.

Then, depending on whether you have lvish-1.1.4 or some flavor of lvish-2.0 installed, go here or here. Enjoy!


The usual caveats about research code apply: Parts of it are broken. The API will change. It will eat your laundry.

Something went wrong with that request. Please try again.