haskell-servant / haskell-servant/servant
Custom combinators
Open
- Dominant language
- Haskell
- Stars
- 2k
- Forks
- 427
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 5
Description
Is there any way to write custom combinators in my project and not in Servant itself?
I want to have something like `QueryParams`, but with `/` and `;` as delimiters instead of `?` and `&` respectively.
As far as I can get, API -> URL conversion is done in `Servant.Links.linkURI'` function. It would be nice to have and option to provide custom "formatting" functions to the generic conversion function.
P.S. I'm not familiar with internal Servant architecture, so I don't know if it is even technically possible to fulfill my request. Any links would be highly appreciated.
Contributor guide
Assessment
This issue has not been assessed yet.