haskell-servant/servant

Generic api type fold: unify servant-foreign and servant-docs

Open

#833 aberto em 9 de out. de 2017

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Haskell (422 forks)batch import
enhancementhelp wantedservant-docsservant-foreign

Métricas do repositório

Stars
 (1.953 stars)
Métricas de merge de PR
 (Mesclagem média 5h 49m) (2 fundiu PRs em 30d)

Description

it seems that servant-foreign and servant-docs are moving into same direction of collecting a lot of information about api type. I wonder if they can be unified in the longer run. They are simple "folds" as the esult type is independent of endpoints (not true with servant-client e.g.), a bit how Foldable and Traversable are related.

I wonder if we can provide single but extensible GADT? to give common parts of servant-foreign and servant-docs.

Guia do colaborador