Maintained by Alexander Thiemann
This version can be pinned in stack with:reroute-0.6.0.0@sha256:43805b3fdc7ed1ba701cd10e249abc997b2291c8f374b8333bb2ea0e0d1dad0b,2382

Module documentation for 0.6.0.0

Used by 1 package in nightly-2022-06-30(full list with versions):

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