abstract implementation of typed and untyped web routing

Version on this page:
LTS Haskell 11.1:
Stackage Nightly 2018-03-12:
Latest on Hackage:

See all snapshots reroute appears in

Maintained by Alexander Thiemann

Module documentation for


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
comments powered byDisqus