@@ -28,7 +28,6 @@ module Control.Monad.Trans.Ether.Writer
2828 , pass
2929 -- * Lifting other operations
3030 , liftCallCC
31− , liftCatch
3231 , liftListen
3332 , liftPass
3433 ) where
@@ -145,10 +144,6 @@ listen t m = tagged t $ Trans.listen (coerce m)
145144pass :: (Monoid w, Monad m) => proxy tag -> WriterT tag w m (a, w -> w) -> WriterT tag w m a
146145pass t m = tagged t $ Trans.pass (coerce m)
147146
148−-- | Lift a @catchE@ operation to the new monad.
149−liftCatch :: proxy tag -> Sig.Catch e m (a, w) -> Sig.Catch e (WriterT tag w m) a
150−liftCatch t f m h = tagged t $ Trans.liftCatch f (coerce m) (coerce h)
151−
152147-- | Lift a @callCC@ operation to the new monad.
153148liftCallCC :: Monoid w => proxy tag -> Sig.CallCC m (a, w) (b, w) -> Sig.CallCC (WriterT tag w m) a b
154149liftCallCC t callCC f = tagged t $ Trans.liftCallCC callCC (coerce f)
@@ -182,4 +177,4 @@ instance (Monoid w, Class.MonadWriter w' m) => Class.MonadWriter w' (WriterT tag
182177
183178instance (Monoid w, Class.MonadError e m) => Class.MonadError e (WriterT tag w m) where
184179 throwError = lift . Class.throwError
185− catchError = liftCatch Proxy Class.catchError
180+ catchError = Lift.liftCatch Class.catchError