yesod-core 1.4.24 → 1.4.25
raw patch · 3 files changed
+14/−1 lines, 3 files
Files
- ChangeLog.md +4/−0
- Yesod/Core/Class/Handler.hs +9/−0
- yesod-core.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.4.25++* Add instance of MonadHandler and MonadWidget for ExceptT [#1278](https://github.com/yesodweb/yesod/pull/1278)+ ## 1.4.24 * cached and cachedBy will not overwrite global state changes [#1268](https://github.com/yesodweb/yesod/pull/1268)
Yesod/Core/Class/Handler.hs view
@@ -24,6 +24,9 @@ import Control.Monad.Trans.List ( ListT ) import Control.Monad.Trans.Maybe ( MaybeT ) import Control.Monad.Trans.Error ( ErrorT, Error)+#if MIN_VERSION_transformers(0,4,0)+import Control.Monad.Trans.Except ( ExceptT )+#endif import Control.Monad.Trans.Reader ( ReaderT ) import Control.Monad.Trans.State ( StateT ) import Control.Monad.Trans.Writer ( WriterT )@@ -55,6 +58,9 @@ GO(ListT) GO(MaybeT) GOX(Error e, ErrorT e)+#if MIN_VERSION_transformers(0,4,0)+GO(ExceptT e)+#endif GO(ReaderT r) GO(StateT s) GOX(Monoid w, WriterT w)@@ -78,6 +84,9 @@ GO(ListT) GO(MaybeT) GOX(Error e, ErrorT e)+#if MIN_VERSION_transformers(0,4,0)+GO(ExceptT e)+#endif GO(ReaderT r) GO(StateT s) GOX(Monoid w, WriterT w)
yesod-core.cabal view
@@ -1,5 +1,5 @@ name: yesod-core-version: 1.4.24+version: 1.4.25 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>