servant

A family of combinators for defining webservices APIs

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

Version on this page:0.2.2
LTS Haskell 17.11:0.18.2
Stackage Nightly 2021-05-16:0.18.2@rev:1
Latest on Hackage:0.18.2@rev:1

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.