graphql/src/Language
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
..
GraphQL Constrain base monad to MonadCatch 2020-07-17 07:05:03 +02:00
GraphQL.hs Constrain base monad to MonadCatch 2020-07-17 07:05:03 +02:00