haskell-servant / haskell-servant/servant

IsElem instances

Open
#1,622 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2k
Forks
427
Avg merge
2d 23h
Merged PRs (30d)
5

Description

Servant has many more combinators than are accounted for in the `IsElem` implementation. Going off of the instance list for `HasLink`,
- `IsElem` is missing equations for:
- `HttpVersion`
- `Vault`
- `BasicAuth _ _`
- `Description _`
- `Summary _`
- `AuthProtect _`
- `Fragment _`
- `IsSecure`
- `RemoteHost`
- `StreamBody' _ _ _ _`
- Instead of `Header`, `QueryParam` and `ReqBody`, there should be equations for `Header'`, `QueryParam'` and `ReqBody'`.
- Instead of `Capture` there should be an equation for `Capture'`.
- Equations for `UVerb` similar to `Verb`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.