https://github.com/scrive/happstack-static-routing
Support for static URL routing with overlap detection for Happstack
https://github.com/scrive/happstack-static-routing
Last synced: 4 months ago
JSON representation
Support for static URL routing with overlap detection for Happstack
- Host: GitHub
- URL: https://github.com/scrive/happstack-static-routing
- Owner: scrive
- License: bsd-3-clause
- Created: 2014-04-15T04:23:18.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2025-02-24T14:28:56.000Z (over 1 year ago)
- Last Synced: 2025-12-08T01:59:25.183Z (7 months ago)
- Language: Haskell
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 18
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# happstack-static-routing [](https://hackage.haskell.org/package/happstack-static-routing) [](http://travis-ci.org/scrive/happstack-static-routing)
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.