nested-routes: Declarative, compositional Wai responses
A method to writing Wai responses
This library attempts to make it easier to write nice Wai response handlers by giving us a Sinatra/ Scotty-like syntax for declaring HTTP-verb oriented routes, in addition to file-extension handling and rose-tree like composition. Not only do we have literal route specification, like Scotty & Spock, but we can also embed Attoparsec parsers and Regular Expressions directly in our routes, with our handlers reflecting their results. You can find more information in the demo. and the examples.
Flags
Automatic Flags
| Name | Description | Default |
|---|---|---|
| example | Build the trivial example. | Disabled |
| example-stm | Build the Sha512 / STM nonce cache example. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- nested-routes-6.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.0.1, 0.0.1.1, 0.0.2, 0.0.3.1, 0.1, 0.1.1, 0.2, 0.2.0.1, 0.2.0.2, 0.2.1, 0.2.2, 0.2.2.1, 0.2.2.2, 0.3, 0.3.1, 0.3.2, 0.3.2.1, 1.0, 1.0.0.1, 2.0.0, 2.0.1, 2.1.0, 2.2.0, 3.0.0, 3.0.0.1, 3.0.0.2, 3.1.0, 3.2.0, 4.0.0, 5.0.0, 6.0.0, 6.0.0.1, 6.1.0, 7.0.0, 7.1.0, 7.1.0.1, 7.1.1, 7.2.0, 7.2.1, 7.2.2, 8.0.0, 8.0.1, 8.0.2, 8.1.0, 8.2.0, 9.0.0, 9.0.0.1, 9.0.1.0, 9.0.1.1, 9.0.2, 10.0.0 (info) |
|---|---|
| Dependencies | attoparsec, base (>=4.6 && <5), base64-bytestring, blaze-builder, bytestring, composition-extra (>=2.0.0), containers, cookie, cryptonite, data-default, errors, http-types, iso8601-time, lucid, memory, mtl, nested-routes, poly-arity (>=0.0.7), pred-trie (>=0.3), regex-compat, semigroups, stm, text, time, transformers, tries, utf8-string, wai-extra, wai-middleware-content-type (>=0.0.3), wai-middleware-verbs (>=0.0.4), wai-session, wai-transformers, warp [details] |
| License | BSD-3-Clause |
| Author | Athan Clark <athan.clark@gmail.com> |
| Maintainer | Athan Clark <athan.clark@gmail.com> |
| Uploaded | by athanclark at 2015-10-02T17:15:45Z |
| Category | Web |
| Source repo | head: git clone git://github.com/athanclark/nested-routes.git |
| Reverse Dependencies | 2 direct, 0 indirect [details] |
| Executables | example-stm, example |
| Downloads | 25797 total (113 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |