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

Module documentation for

Used by 1 package in nightly-2024-06-22(full list with versions):


Build Status

Hackage Deps



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.


  • Using cabal: cabal install reroute
  • From Source: git clone && cd Spock/reroute && cabal install