Declarative, compositional Wai responses

Version on this page:7.0.0
LTS Haskell 6.35:7.0.0
Stackage Nightly 2016-05-25:7.0.0
Latest on Hackage:9.0.2

See all snapshots nested-routes appears in

BSD-3-Clause licensed and maintained by Athan Clark
This version can be pinned in stack with:nested-routes-7.0.0@sha256:0e0efc5cce71d331be17a599ce5bba996fa84175269fc94d5d77bb8062bb1dc3,4780

Module documentation for 7.0.0

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.