For example bidi has a function `path-for` which takes the routes and returns a URL path to the desired handler.