servant

A family of combinators for defining webservices APIs

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

Version on this page:0.2.2
LTS Haskell 19.8:0.19@rev:4
Stackage Nightly 2022-05-25:0.19@rev:4
Latest on Hackage:0.19@rev:4

See all snapshots servant appears in

BSD-3-Clause licensed by Alp Mestanogullari, Sönke Hahn, Julian K. Arni
Maintained by alpmestan@gmail.com
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.