servant-gdp: Use Servant and GDP together to create expressive web API types

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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]

Properties

Versions 0.0.1.1, 0.0.1.2
Change log None available
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-15T21:49:29Z

Modules

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for servant-gdp-0.0.1.1

[back to package description]

servant-gdp

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/requirements in the Servant API type. For an example of how this can look like check out https://github.com/mtonnberg/gdp-demo