sequent-core: Alternative Core language for GHC plugins

[ bsd3, development, library ] [ Propose Tags ]

Sequent Core is a GHC plugin library based on a sequent calculus. It includes:

  • A set of datatypes for a language expressing function code as interactions between values and their contexts (continuations)

  • A library for writing GHC optimizer plugins using the Sequent Core language in place of the built-in Core language

  • Example plugins written using Sequent Core


Manual Flags


Build example executables.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,, 0.3, 0.4, 0.5,
Dependencies base (>=4 && <5), bytestring, containers, ghc (>=7.6), sequent-core, transformers [details]
License BSD-3-Clause
Author Luke Maurer, Paul Downen, Iavor S. Diatchki
Category Development
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by lukemaurer at 2015-07-03T12:33:53Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables SizesExpl, CasesExpl, SimplExpl, SpecConstrExpl, DumpExpl
Downloads 5152 total (22 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-07-03 [all 1 reports]