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
Versions 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.2.0.0
Dependencies base (>=4.7 && <5), containers, equational-reasoning (>=0.4.0.0), 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_ gmail.com
Category Math, Type System
Home page https://github.com/konn/ghc-typelits-presburger#readme
Source repo head: git clone https://github.com/konn/ghc-typelits-presburger
Uploaded by HiromiIshii at Sun Mar 11 06:33:51 UTC 2018
Distributions NixOS:0.2.0.0
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

Modules

[Index]

Flags

NameDescriptionDefaultType
examplesDisabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees