ghc-typelits-presburger

Presburger Arithmetic Solver for GHC Type-level natural numbers. https://github.com/konn/ghc-typelits-presburger#readme

Latest on Hackage:0.1.1.0

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.

BSD3 licensed by Hiromi ISHII
Maintained by konn.jinro _at_ gmail.com

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
comments powered byDisqus