The reroute package

[ Tags: benchmark, library, mit, web ] [ Propose Tags ]

abstraction over how urls with/without parameters are mapped to their corresponding handlers

[Skip to Readme]


Versions,,,,,,,,,,,, (info)
Dependencies base (>=4.7 && <5), deepseq (>=, hashable (>=1.2), http-api-data (>=0.2), hvect (>=0.4), mtl (>=2.1), text (>=, unordered-containers (>=0.2) [details]
License MIT
Copyright (c) 2014 - 2017 Alexander Thiemann <>, Tim Baumann <>
Author Alexander Thiemann <>, Tim Baumann <>
Maintainer Alexander Thiemann <>
Category Web
Home page
Source repo head: git clone git://
Uploaded Fri Feb 3 20:58:51 UTC 2017 by AlexanderThiemann
Distributions LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 5312 total (100 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-02-03 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for reroute-

[back to package description]


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