Skip to content
Snippets Groups Projects
Commit d9dc6d53 authored by Ryan Scott's avatar Ryan Scott
Browse files

Bump template-haskell version bounds

parent 39a7a807
No related merge requests found
next [????.??.??]
-----------------
* Allow building with `base-4.13`/`template-haskell-2.15`.
0.10.1 [2019.03.26] 0.10.1 [2019.03.26]
------------------- -------------------
* Define a `MonadFail` instance for `CatchT`. * Define a `MonadFail` instance for `CatchT`.
......
...@@ -45,7 +45,7 @@ library ...@@ -45,7 +45,7 @@ library
build-depends: build-depends:
base >= 4.3 && < 5, base >= 4.3 && < 5,
stm >= 2.2 && < 3, stm >= 2.2 && < 3,
template-haskell >= 2.2 && < 2.15, template-haskell >= 2.2 && < 2.16,
transformers >= 0.2 && < 0.6, transformers >= 0.2 && < 0.6,
transformers-compat >= 0.3 && < 0.7, transformers-compat >= 0.3 && < 0.7,
mtl >= 2.0 && < 2.3 mtl >= 2.0 && < 2.3
......
...@@ -110,7 +110,7 @@ instance Monad m => Monad (CatchT m) where ...@@ -110,7 +110,7 @@ instance Monad m => Monad (CatchT m) where
CatchT m >>= k = CatchT $ m >>= \ea -> case ea of CatchT m >>= k = CatchT $ m >>= \ea -> case ea of
Left e -> return (Left e) Left e -> return (Left e)
Right a -> runCatchT (k a) Right a -> runCatchT (k a)
#if !MIN_VERSION_base(4,13,0) #if !(MIN_VERSION_base(4,13,0))
fail = Fail.fail fail = Fail.fail
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment