haskell-servant/servant

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

Open

#833 aperta il 9 ott 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Haskell (422 fork)batch import
enhancementhelp wantedservant-docsservant-foreign

Metriche repository

Star
 (1953 star)
Metriche merge PR
 (Merge medio 5h 49m) (2 PR mergiate in 30 g)

Descrizione

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.

Guida contributor