haskell-servant / haskell-servant/servant
Implement a "CaptureSome" combinator
Open
enhancement
help wanted
- Dominant language
- Haskell
- Stars
- 2k
- Forks
- 427
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 5
Description
There [exist in the wild](https://docs.docker.com/registry/spec/api) APIs such as this:
```
GET /v2//manifests/
GET /v2//tags/list
```
where `` comprises _one or more_ path segments. It would be nice to be able to do something like this:
```
"v2" :> CaptureSome "name" [String] :> "manifests" :> Capture "reference" String :> Get ...
"v2" :> CaptureSome "name" [String] :> "tags" :> "list" :> Get ...
```
to support them.
Contributor guide
Assessment
This issue has not been assessed yet.