servant

A family of combinators for defining webservices APIs

http://haskell-servant.github.io/

Version on this page:0.2.2
LTS Haskell 22.17:0.20.1@rev:2
Stackage Nightly 2024-04-14:0.20.1@rev:2
Latest on Hackage:0.20.1@rev:2

See all snapshots servant appears in

BSD-3-Clause licensed by Alp Mestanogullari, Sönke Hahn, Julian K. Arni
Maintained by [email protected]
This version can be pinned in stack with:servant-0.2.2@sha256:01ec856ef5fd9eaf15b5ceb7deedfbe2910248575a4553b20b2487e54a010c77,2102

A family of combinators for defining webservices APIs and serving them

You can learn about the basics in the getting started guide.

Here's a runnable example, with comments, that defines a dummy API and implements a webserver that serves this API, using the servant-server package.