reroute: abstract implementation of typed and untyped web routing

[ library, mit, web ] [ Propose Tags ]

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

[Skip to Readme]
Versions [faq],,,,,,,,,,,,, (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 by AlexanderThiemann at Thu Jun 14 04:46:04 UTC 2018
Distributions NixOS:
Downloads 6819 total (254 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-06-14 [all 1 reports]




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