servant-polysemy: Utilities for using servant in a polysemy stack

[ bsd3, library, program, servant, web ] [ Propose Tags ] [ Report a vulnerability ]

It's possible to use servant and polysemy together without this library, but it's not easy. This library makes it easy.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4
Change log CHANGELOG.md
Dependencies base (>=4.11.0.0 && <5), deepseq (>=1.4.3.0 && <1.5), http-client (>=0.6.4.1 && <0.8), http-client-tls (>=0.3.5.3 && <0.4), lens, mtl (>=2.2.2 && <2.3), polysemy (>=1.3.0.0 && <1.8), polysemy-plugin (>=0.2.4.0 && <0.5), polysemy-zoo (>=0.7.0.1 && <0.9), servant, servant-client (>=0.16 && <0.20), servant-polysemy, servant-server (>=0.16 && <0.20), servant-swagger (>=1.1 && <1.2), servant-swagger-ui (>=0.3 && <0.4), swagger2 (>=2.4 && <2.9), text (>=1.2.3.1 && <1.3), wai (>=3.2.1.2 && <3.4), warp (>=3.2.22 && <3.4) [details]
Tested with ghc ==8.8.4, ghc ==8.10.1, ghc ==9.0.2, ghc ==9.2.4
License BSD-3-Clause
Copyright 2020 Alex Chapman
Author Alex Chapman
Maintainer alex@farfromthere.net
Category Servant, Web
Home page https://github.com/AJChapman/servant-polysemy#readme
Bug tracker https://github.com/AJChapman/servant-polysemy/issues
Source repo head: git clone https://github.com/AJChapman/servant-polysemy
Uploaded by AlexChapman at 2022-11-04T02:26:36Z
Distributions
Executables example-client, example-server-with-swagger, example-server-generic, example-server
Downloads 641 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for servant-polysemy-0.1.4

[back to package description]

servant-polysemy

servant-polysemy is a Haskell library that makes it easier to use Servant and Polysemy together.

Examples

Check out these examples for how to use it:

The client will connect to either version of the server and interact with its endpoint, which simply serves up the package version.