/webship

A Haskell library for building declarative, RESTful web apps

Primary LanguageHaskellMIT LicenseMIT

Webship

Build Status

Webship is a set of Haskell libraries for handling and serving HTTP requests in a RESTful fashion.

Webship is a shameless fork of the excellent Airship which was inspired by Webmachine and Webcrank.

Both Airship and Webcrank take a similar and fairly literal conversion of the Webmachine API, in the form of a single record with many functions, and a default value which can be modified. Unfortunately this leads to the use of StateT for threading data between function calls, which is less than ideal.

This library is an attempt to capture the essence of Webship with a type-safe API.

Example

See Basic.hs.

HTTP

decision