@hackage servant0.2.1

A family of combinators for defining webservices APIs

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.