Few more updates:
- This is now available on opam to make it easy to try it out (http://opam.ocaml.org/packages/routes/)
- Internally routes are now grouped on the HTTP methods wherever possible
- The combinators translate the route definitions into a trie (this allowed to share the prefix matching on all routes)
- A little bit of route re-writing is done to avoid un-necessary nested skip/apply actions.
- I added an example about how this can be used as an Opium middleware.
I have given up on some features from before (removed route printing, and nested routing are now removed)
Please report issues/problems you notice if you decide to try it out