Jesse Rosenthal
b2721c6b02
Make PandocExecutionError an exception
...
Until we fix fetchItem and fetchItem' to make use of MonadError, we have
to thow an exception. We'll throw PandocFileReadError. Note that this is
temporary.
2017-01-25 17:07:39 +01:00
Jesse Rosenthal
a94f3dddee
Make opaque typeclasses PandocPure and PandocIO
2017-01-25 17:07:39 +01:00
Jesse Rosenthal
45f3c53dd9
Class: Specify Functor and Applicative
...
We're still compiling for 7.8 which is pre-AMP, so let's just be
explicit about it so we can use applicative notation.
2017-01-25 17:07:39 +01:00
Jesse Rosenthal
239880f412
Introduce PandocMonad typeclass.
...
This can be instantiated by both an IO monad or a pure State monad.
2017-01-25 17:07:39 +01:00