servant-gdp: Use Servant and GDP together to create expressive web API types
Servant (A web api framework) and GDP (Ghosts of Departed Proofs) is here combined to allow for quite expressive API declarations. This is achieved by parsing captured API-input as named variables, making the named contexts span the entire request. This in turn, makes it possible to express a lot of domain knowledge or requirements in the Servant API type. For an example of how this can look like check out https://github.com/mtonnberg/gdp-demo
[Skip to Readme]
Downloads
- servant-gdp-0.0.1.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.0.1.2 |
---|---|
Dependencies | aeson (>=1.5 && <1.6), base (>=4.7 && <5), gdp (<0.1), servant-server (>=0.18 && <0.19), text (>=1.2 && <1.3) [details] |
License | BSD-3-Clause |
Copyright | 2021 Mikael Tönnberg |
Author | Mikael Tönnberg |
Maintainer | mikael@carboncloud.com |
Category | Lib |
Home page | https://github.com/mtonnberg/servant-gdp#readme |
Source repo | head: git clone https://github.com/mtonnberg/servant-gdp |
Uploaded | by mtonnberg at 2021-06-16T13:10:05Z |
Distributions | |
Downloads | 265 total (6 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2021-06-16 [all 1 reports] |