ghc-typelits-presburger: Presburger Arithmetic Solver for GHC Type-level natural numbers.

[ 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), containers, equational-reasoning (>=, ghc (>=7.10 && <8.5), ghc-tcplugins-extra (==0.2.*), ghc-typelits-presburger, pretty, reflection, singletons [details]
License BSD-3-Clause
Copyright 2015 (c) Hiromi ISHII
Author Hiromi ISHII
Maintainer konn.jinro _at_
Category Math, Type System
Home page
Source repo head: git clone
Uploaded by HiromiIshii at Sun Mar 11 06:33:51 UTC 2018
Distributions NixOS:
Executables simple-arith
Downloads 1505 total (12 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 2018-03-11 [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