abstract implementation of typed and untyped web routing

Version on this page:
LTS Haskell 12.26:
Stackage Nightly 2018-03-12:
Latest on Hackage:[email protected]:2

See all snapshots reroute appears in

Maintained by Alexander Thiemann

Module documentation for

This version can be pinned in stack with:[email protected]:bddea4e1aabbfc65f0ad3ffcfa38364cd13dcede6b6fc3aa185ea81d4cbd4fe4,2646


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 reroute && cabal install