Presburger Arithmetic Solver for GHC Type-level natural numbers. https://github.com/konn/ghc-typelits-presburger#readme
|Latest on Hackage:||0.2.0.5|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
ghc-typelits-presburger augments GHC type-system with Presburger Arithmetic Solver for Type-level natural numbers.
You can use by adding this package to
build-depends and add the following pragma to the head of .hs files:
OPTIONS_GHC -fplugin GHC.TypeLits.Presburger