servant

A family of combinators for defining webservices APIs

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

Version on this page:0.4.2@rev:1
LTS Haskell 23.24:0.20.2@rev:1
Stackage Nightly 2025-06-15:0.20.3.0
Latest on Hackage:0.20.3.0

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.4.2@sha256:0cdc6fa4a46cf048675498ba6101c9d243c2faa45f466e7a674fab8a55113580,3544

A family of combinators for defining webservices APIs and serving them

You can learn about the basics in the tutorial.

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.

CHANGELOG