web-inv-route-0.1.1: Composable, reversible, efficient web routing based on invertible invariants and bijections

Safe HaskellNone
LanguageHaskell2010

Web.Route.Invertible.Happstack

Description

A compatibility routing layer for Happstack applications.

Synopsis

Documentation

happstackRequest :: Request -> Request Source #

Convert a Request to a request.

routeHappstack :: Request -> RouteMap a -> Either Response a Source #

Lookup a Happstack request in a route map, returning either an empty error response or a successful result.