ghc-typelits-presburger: Presburger Arithmetic Solver for GHC Type-level natural numbers.
ghc-typelits-presburger augments GHC type-system with Presburger
Arithmetic Solver for Type-level natural numbers.
This plugin only work with GHC builtin operations.
To work with those of singletons package, use ghc-typelits-meta and/or ghc-typelits-presburger instead.
Since 0.3.0.0, integration with singletons package moves to singletons-presburger.
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
Modules
[Index] [Quick Jump]
Flags
Automatic Flags
| Name | Description | Default |
|---|---|---|
| examples | Builds example | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- ghc-typelits-presburger-0.3.0.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.0.5, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.5.0.0, 0.5.2.0, 0.6.0.0, 0.6.1.0, 0.6.2.0, 0.7.0.0, 0.7.1.0, 0.7.2.0, 0.7.3.0, 0.7.4.0, 0.7.4.1, 0.7.4.2 (info) |
|---|---|
| Dependencies | base (>=4.7 && <5), containers, equational-reasoning, ghc (>=7.10 && <8.11), ghc-tcplugins-extra (>=0.2 && <0.5), ghc-typelits-presburger, mtl, pretty, reflection, syb, transformers [details] |
| Tested with | ghc ==8.4.3, ghc ==8.6.3, ghc ==8.8.2 |
| License | BSD-3-Clause |
| Copyright | 2015 (c) Hiromi ISHII |
| Author | Hiromi ISHII |
| Maintainer | konn.jinro _at_ gmail.com |
| Uploaded | by HiromiIshii at 2020-02-01T15:17:23Z |
| Revised | Revision 1 made by HiromiIshii at 2020-02-09T13:38:29Z |
| 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 |
| Distributions | LTSHaskell:0.7.4.2, Stackage:0.7.4.2 |
| Reverse Dependencies | 4 direct, 15 indirect [details] |
| Executables | simple-arith-core |
| Downloads | 9313 total (59 in the last 30 days) |
| Rating | 1.75 (votes: 1) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2020-02-01 [all 1 reports] |