Comments (2)
Hey,
If I understand it correctly, it should be something with a definition like:
val add : 'b route -> 'b router -> 'b router
Taking a route and an existing router as input, and returning a new router right?
from routes.
Hi @tatchi,
The function signature that you defined looks correct. Feel free to reach out if you'd like to work on this 😄
from routes.
Related Issues (20)
- API for catch all route HOT 8
- Support additonal methods `Other(string) HOT 3
- Forward additional custom data to handlers HOT 9
- fix travis build with 4.08 HOT 2
- Ability to get human readable name for route HOT 2
- Add human readable route patterns
- Use a less restrictive ocaml/dune constraint
- Keep the old readme example in examples/ HOT 2
- Optional patterns at the end of path HOT 3
- Pattern with 2+ options where path is discarded HOT 5
- Group targets with different signature under same type HOT 8
- Fix mdx tests on windows HOT 1
- Update or remove the bucklescript packaging setup
- Versions 0.9.0 and 0.9.1 don't appear in opam packages HOT 3
- Compiler error when combining custom pattern with "variable pattern" (e.g. str) HOT 2
- Route.match' edge case question HOT 5
- Add an Opium example once more? HOT 4
- Trailing slashes example in the README HOT 1
- Good way to match on methods and paths?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from routes.