-
-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to capture a path segment optionally? (was: Any reason why CaptureHint is not exported?) #1795
Comments
I don't understand. |
@fisx I believe Saurabh is asking "why is this not part of the external API" (which would be presumed to be stable, or at least officially endorsed). |
i see, that makes sense. i'm not sure, then. as an application developer i'm really bad at library interface hygene and would probably just import the internal module. :) |
@saurabhnanda Could you please use this module and tell us if the constructs in it are mature enough? If they are, they I guess we can move them to an external module. Even making a guide for your usecase could be a fantastic way to help out the next person who needs i18n. :) |
@tchoutri @fisx my bad. Now, even though I have access to |
I am knee-deep into finding a solution for How to optionally capture a path segment in Haskell servant? and I think I have hit upon something that could work (given below) BUT it won't compile without access to
Servant.Server.Internal.Router.CaptureHint
. Any reason why it has not been exported? Without access to that type, is there any other way to useaddCapture
?The text was updated successfully, but these errors were encountered: