aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2014-07-12 08:56:59 +0100
committerJesse Rosenthal <jrosenthal@jhu.edu>2014-07-12 18:04:06 +0100
commitfe2eda9d54e64ffa0c6c5c5295c19941040a5f3d (patch)
tree637d6bb84df637b1287bf83e7a26e6a3b566ea45 /tests
parentd65fd581713f181032ac29afe9843f1de99c70e0 (diff)
downloadpandoc-fe2eda9d54e64ffa0c6c5c5295c19941040a5f3d.tar.gz
Docx Reader: Add a compatibility layer for Except.
mtl switched from ErrorT to ExceptT, but we're not sure which mtl we'll be dealing with. This should make errors work with both. The main difference (beside the name of the module and the monad transformer) is that Except doesn't require an instance of an Error Typeclass. So we define that for compatability. When we switch to a later mtl, using Control.Monad.Exception, we can just erase the instance declaration, and all should work fine.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions