Declarative, compositional Wai responses

Latest on Hackage:9.0.2

See all snapshots nested-routes appears in

BSD-3-Clause licensed and maintained by Athan Clark

Module documentation for 7.0.0

This version can be pinned in stack with:nested-routes-7.0.0@sha256:0e0efc5cce71d331be17a599ce5bba996fa84175269fc94d5d77bb8062bb1dc3,4780

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.