The ghc-typelits-presburger package

[ Tags: bsd3, library, math, type-system ] [ Propose Tags ]

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


Dependencies base (>=4.7 && <5), equational-reasoning (>=, ghc (>=7.10 && <8.2), ghc-tcplugins-extra (==0.2.*), ghc-typelits-presburger, presburger (==1.3.*), reflection [details]
License BSD3
Copyright 2015 (c) Hiromi ISHII
Author Hiromi ISHII
Maintainer konn.jinro _at_
Category Math, Type System
Home page
Source repository head: git clone
Uploaded Tue Aug 2 10:25:34 UTC 2016 by HiromiIshii
Distributions NixOS:
Executables simple-arith
Downloads 187 total (41 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-08-02 [all 1 reports]
Hackage Matrix CI





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


Maintainer's Corner

For package maintainers and hackage trustees