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]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,,,,,,,, (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 - 2021 Alexander Thiemann <>, Tim Baumann <>
Author Alexander Thiemann <>, Tim Baumann <>
Maintainer Alexander Thiemann <>
Category Web
Home page
Source repo head: git clone git://
Uploaded by BrandonSimmons at 2022-07-20T16:16:37Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 6 direct, 11 indirect [details]
Downloads 16343 total (82 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-07-20 [all 1 reports]

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