Skip to content
Support for static URL routing with overlap detection for Happstack
Haskell
Branch: master
Clone or download
Pull request Compare This branch is 28 commits ahead of carlssonia:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Happstack
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
Setup.lhs
cabal.project
happstack-static-routing.cabal

README.md

happstack-static-routing Hackage version Build Status

If you have a large routing table in Happstack and want to insert a new handler, you might run into overlap problems (ambiguity). The new handler might not fire because it matches against a URL that is already handled earlier. Or if you put your new handler first, it might steal requests from existing handlers.

This Happstack support library allows you to detect overlap cases and build unambiguous routing tables where the order of the handlers is irrelevant.

You can’t perform that action at this time.