Maintained by Alexander Thiemann
This version can be pinned in stack with:reroute-0.7.0.0@sha256:ca982d6c747bee4e089f733cd000b8ccf62fb4312cfb0c5de9c8a33f26e02437,2392

Module documentation for 0.7.0.0

reroute

Build Status

Hackage Deps

Intro

Hackage: http://hackage.haskell.org/package/reroute

An abstract implementation of typesafe and untyped routing for web applications. The web framework Spock is implemented with it. The basic idea is you have a registry storing a mapping betwenn abstract routes and actions. Then you define two methods for adding a route and it’s action to the registry and a second method for efficiently matching a provided path to a route and multiple actions.

Install

  • Using cabal: cabal install reroute
  • From Source: git clone https://github.com/agrafix/Spock.git && cd Spock/reroute && cabal install