File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ instance bindErrorT :: (Monad m) => Bind (ErrorT e m) where
6161
6262instance monadErrorT :: (Monad m ) => Monad (ErrorT e m )
6363
64- instance monadRecErrorT :: (Error e , MonadRec m ) => MonadRec (ErrorT e m ) where
64+ instance monadRecErrorT :: (MonadRec m ) => MonadRec (ErrorT e m ) where
6565 tailRecM f = ErrorT <<< tailRecM \a -> do
6666 m <- runErrorT (f a)
6767 return case m of
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ instance bindExceptT :: (Monad m) => Bind (ExceptT e m) where
5252
5353instance monadExceptT :: (Monad m ) => Monad (ExceptT e m )
5454
55- instance monadRecErrorT :: (Semigroup e , MonadRec m ) => MonadRec (ExceptT e m ) where
55+ instance monadRecExceptT :: (MonadRec m ) => MonadRec (ExceptT e m ) where
5656 tailRecM f = ExceptT <<< tailRecM \a -> do
5757 m <- runExceptT (f a)
5858 return case m of
You can’t perform that action at this time.
0 commit comments