@hackage hoopl3.10.2.0
A library to support dataflow analysis and optimization
Categories
License
BSD-3-Clause
Maintainer
nr@cs.tufts.edu, andreas.voellmy@gmail.com, email@ningwang.org
Links
Versions
Installation
Tested Compilers
Dependencies (2)
- base >=4.3 && <4.9
- containers >=0.4 && <0.6 Show all…
Dependents (10)
@hackage/ethereum-analyzer, @hackage/text-show-instances, @hackage/ghc, @hackage/linearscan-hoopl, @hackage/acme-everything, @hackage/ghc-instances, Show all…
Package Flags
testcoverage
(off by default)
Enable test coverage report
The hoopl Package

Hoopl: A Higher-Order OPtimization Library
API documentation can be found on Hackage.
| Directory | Contents |
|---|---|
paper/ |
A paper about Hoopl |
prototypes/ |
A sampling of prototypes and early designs |
src/ |
The current official sources to the Cabal package |
testing/ |
Tests, including a sample client. See testing/README |
Development Notes
To build the library, change to the src directory and run
cabal configure --prefix=$HOME --user # we have no idea what this means
cabal build
cabal install --enable-documentation
To run the tests in the folder testing/, change to the src directory and run
cabal configure --enable-tests
cabal test
To run the tests with the test coverage report, change to the src directory and run
cabal configure --enable-tests -f testcoverage
cabal test
You'll need a Haskell Platform, which should include appropriate versions of Cabal and GHC.
Checklist for Making Releases
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.
- Make sure
hooplpasses Travis for all GHC versions in the build-matrix - Update Changelog (&
git commit) - Generate source tarball via
cabal sdistand upload a candidate to Hackage (see note below), and inspect the result. - If everything checks out, make an annotated and GPG-signed Git release tag:
git tag -a -s v${VER} -m "hoopl ${VER}" - Publish (there's a button for that on Hackage) the package candidate
- Work on next release
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.