graphql/src/Language/GraphQL
Eugen Wissner 09135c581a Constrain base monad to MonadCatch
Let's try MonadThrow/MonadCatch. It looks nice at a first glance. The
monad transformer stack contains only the ReaderT, less lifts are
required. Exception subtyping is easier, the user can (and should)
define custom error types and throw them. And it is still possible to
use pure error handling, if someone doesn't like runtime exceptions or
need to run a query in a pure environment.

Fixes #42.
2020-07-17 07:05:03 +02:00
..
AST Parse subscriptions 2020-07-11 06:34:10 +02:00
Execute Constrain base monad to MonadCatch 2020-07-17 07:05:03 +02:00
Type Constrain base monad to MonadCatch 2020-07-17 07:05:03 +02:00
AST.hs Move Core module out of AST 2020-06-30 10:28:10 +02:00
Error.hs Constrain base monad to MonadCatch 2020-07-17 07:05:03 +02:00
Execute.hs Constrain base monad to MonadCatch 2020-07-17 07:05:03 +02:00
Type.hs Support subscriptions 2020-07-14 19:37:56 +02:00