The reroute package

[Tags:benchmark, library, mit, test]

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


[Skip to Readme]

Properties

Versions 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 (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]
License MIT
Copyright (c) 2014 - 2017 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>
Stability Unknown
Category Web
Home page http://github.com/agrafix/Spock
Source repository head: git clone git://github.com/agrafix/Spock.git
Uploaded Fri Feb 3 20:58:51 UTC 2017 by AlexanderThiemann
Distributions LTSHaskell:0.4.0.1, NixOS:0.4.1.0, Stackage:0.4.1.0, Tumbleweed:0.4.1.0
Downloads 3159 total (29 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-02-03 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for reroute

Readme for reroute-0.4.1.0

reroute

Build Status

Hackage Deps

Intro

Hackage: http://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