haskell-servant/servant
Auf GitHub ansehenGeneric api type fold: unify servant-foreign and servant-docs
Open
#833 geöffnet am 9. Okt. 2017
enhancementhelp wantedservant-docsservant-foreign
Repository-Metriken
- Stars
- (1.953 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 5h 49m) (2 gemergte PRs in 30 T)
Beschreibung
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.