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.9 && <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 <>
Revised Revision 2 made by HerbertValerioRiedel at 2019-05-20T21:15:46Z
Category Web
Home page
Source repo head: git clone git://
Uploaded by AlexanderThiemann at 2018-06-14T04:46:04Z
Distributions NixOS:
Downloads 11255 total (117 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 2018-06-14 [all 1 reports]




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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