| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 11:49:09 GMT
X-Served-By: cache-dfw-kdfw8210081-DFW, cache-bom-vanm7210093-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768650549.396542,VS0,VE337
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
reroute: abstract implementation of typed and untyped web routing
[Skip to Readme]
reroute: abstract implementation of typed and untyped web routing
abstraction over how urls with/without parameters are mapped to their corresponding handlers
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- reroute-0.7.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.2.0.1, 0.2.1.0, 0.2.2.0, 0.2.2.1, 0.2.3.0, 0.3.0.1, 0.3.0.2, 0.3.1.0, 0.4.0.0, 0.4.0.1, 0.4.1.0, 0.5.0.0, 0.6.0.0, 0.7.0.0 (info) |
|---|---|
| Dependencies | base (>=4.7 && <5), deepseq (>=1.1.0.2), hashable (>=1.2), http-api-data (>=0.2), hvect (>=0.4), mtl (>=2.1), text (>=0.11.3.1), unordered-containers (>=0.2) [details] |
| Tested with | ghc ==8.8.4, ghc ==9.2.2 |
| License | MIT |
| Copyright | (c) 2014 - 2021 Alexander Thiemann <mail@athiemann.net>, Tim Baumann <tim@timbaumann.info> |
| Author | Alexander Thiemann <mail@athiemann.net>, Tim Baumann <tim@timbaumann.info> |
| Maintainer | Alexander Thiemann <mail@athiemann.net> |
| Uploaded | by BrandonSimmons at 2022-07-20T16:16:37Z |
| Category | Web |
| Home page | https://github.com/agrafix/Spock |
| Source repo | head: git clone git://github.com/agrafix/Spock.git |
| Distributions | LTSHaskell:0.7.0.0, NixOS:0.7.0.0, Stackage:0.7.0.0 |
| Reverse Dependencies | 6 direct, 11 indirect [details] |
| Downloads | 17100 total (57 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-0.7.0.0
[back to package description]reroute
Intro
Hackage: https://hackage.haskell.org/package/reroute
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.
Install
- Using cabal:
cabal install reroute - From Source:
git clone https://github.com/agrafix/Spock.git && cd Spock/reroute && cabal install