singletons-presburger: Presburger Arithmetic Solver for GHC Type-level natural numbers with Singletons package.

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

The singletons-presburger plugin augments GHC type-system with Presburger Arithmetic Solver for Type-level natural numbers, with integration with singletons package.

You can use by adding this package to dependencies and add the following pragma to the head of .hs files:

OPTIONS_GHC -fplugin Data.Singletons.TypeNats.Presburger
Versions [faq] 0.3.0.0, 0.3.0.1
Dependencies base (>=4.7 && <5), equational-reasoning, ghc (>=7.10 && <8.11), ghc-typelits-presburger, reflection, singletons, singletons-presburger [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
Bug tracker https://github.com/konn/ghc-typelits-presburger/issues
Source repo head: git clone https://github.com/konn/ghc-typelits-presburger
Uploaded by HiromiIshii at 2020-06-22T08:33:09Z
Distributions NixOS:0.3.0.1
Executables simple-arith
Downloads 250 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-06-22 [all 4 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
examples

Builds example

DisabledAutomatic

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