hoopl
Package API documentation can be found on Hackage. For detailed explanation of the library design see paper "Hoopl: A Modular, Reusable Library for Dataflow Analysis and Transformation"
Directory | Contents |
---|---|
src/ |
The current official sources to the Cabal package |
testing/ |
Tests, including a sample client. See testing/README |
To build the library run:
cabal configure
cabal build
cabal install --enable-documentation
To run the tests in the testing/
folder run:
cabal configure --enable-tests
cabal test
To run the tests with the test coverage report run:
cabal configure --enable-tests --enable-coverage
cabal test
You'll need a Haskell Platform, which should include appropriate versions of Cabal and GHC.
Please follow Johan Tibell's Haskell Style Guide for all new/modified code.
In order to facilitate GHC development's workflow, the version in hoopl.cabal
is to be bumped as soon as a change requires a respective version bump (according to the PVP) relative to the last released hoopl
version.
hoopl
passes Travis for all GHC versions in the build-matrixgit commit
)cabal sdist
and upload a candidate to Hackage (see note below), and inspect the result. git tag -a -s v${VER} -m "hoopl ${VER}"
Note: To upload to Hackage,
cabal sdist
cabal upload dist/hoopl-*.tar.gz
However, it's recommended use the Hackage feature for uploading a candidate.