servant

A family of combinators for defining webservices APIs

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

Version on this page:0.2.1
LTS Haskell 22.17:0.20.1@rev:2
Stackage Nightly 2024-04-19: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.1@sha256:8139b439b0b67ff8658d675ebeb1b8af6b37b373b818b769c0b968b68f40b314,2074

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.