Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
Package Usage: hackage: servant-namedargs
[Index] [Quick Jump]
Package maintainers
For package maintainers and hackage trustees
Candidates
This library provides combinators to add named arguments to servant endpoints. These combinators are all isomorphic to existing servant combinators*, and so a type family Transform is also provided for converting namedargs combinators to and from default servant combinators. Following the pattern of servant itself, this library only adds the combinators and instances for link generation: for the instances to actually use them with servant-client and servant-server, look at servant-client-namedargs and servant-server-namedargs.
* NamedBody' is NOT isomorphic to ReqBody', because ReqBody' doesn't have a name. Conversions are still provided, but going from a NamedBody' to a ReqBody' will lose the associated name of the NamedBody', and going from a ReqBody' to a NamedBody' requires a default name which will be applied.
4 versions
Latest release: about 5 years ago
1,787 downloads total
View more package details: https://packages.ecosyste.ms/registries/hackage.haskell.org/packages/servant-namedargs
View more repository details: https://repos.ecosyste.ms/hosts/GitLab.com/repositories/sciencei%2Fservant-namedargs
Dependent Repos 3
sciencei/servant-client-namedargs
Instances to use named with servant-client- >=0.1.1 && <0.3 servant-client-namedargs.cabal
- ==0.1.1.1 servant-client-namedargs.cabal
Last synced: about 1 month ago
sciencei/servant-server-namedargs
Automatically derive API server functions with named and optional parameters- >=0.1.1 && <0.2 servant-server-namedargs.cabal
Last synced: 11 days ago