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 [RSS] [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 - 2020 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 2020-12-09T06:55:13Z
Distributions NixOS:
Downloads 12446 total (174 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-12-09 [all 1 reports]


[Index] [Quick Jump]


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