61d0d14b5c
The issue is similar to the one in #1513: ``` src/Servant/Server/Internal.hs:824:10: error: • Uninferrable type variable k0 in type family equation right-hand side: (TypeError ...) • In the type instance declaration for ‘ServerT’ In the instance declaration for ‘HasServer ((arr :: a -> b) :> sub) context’ | 824 | type ServerT (arr :> sub) _ = TypeError (PartialApplication HasServer arr) | ``` This fix is similar to the one in #1514. |
||
---|---|---|
.. | ||
example | ||
src | ||
test | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
servant-server.cabal | ||
Setup.hs |
servant-server
This library lets you implement an HTTP server with handlers for each endpoint of a servant API, handling most of the boilerplate for you.
Getting started
We've written a tutorial guide that introduces the core types and features of servant. After this article, you should be able to write your first servant webservices, learning the rest from the haddocks' examples.