nested-routes

Declarative, compositional Wai responses

LTS Haskell 6.30:7.0.0
Stackage Nightly 2016-05-25:7.0.0
Latest on Hackage:8.0.0
BSD3 licensed and maintained by Athan Clark

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.

comments powered byDisqus