haskell-graphql / graphql-api

Write type-safe GraphQL services in Haskell
BSD 3-Clause "New" or "Revised" License
406 stars 35 forks source link

Add support for doctests #17

Closed jml closed 7 years ago

jml commented 7 years ago

Doesn't actually add any doctests--that'll come later.

Review & merge #16 before reviewing this. Conflicts with #14.

Fixes #13.

jml commented 7 years ago

Thanks! I'm not going to add doc-tests yet, will need to get a better feel for API and helper functions first.

I think they are a good way of acquiring that feel. Also a good way of structuring examples. But to each their own.