haskell-servant/servant

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

Open

#833 ouverte le 9 oct. 2017

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Haskell (422 forks)batch import
enhancementhelp wantedservant-docsservant-foreign

Métriques du dépôt

Stars
 (1 953 stars)
Métriques de merge PR
 (Merge moyen 5h 49m) (2 PRs mergées en 30 j)

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.

Guide contributeur