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
61
61
62
62
instance monadErrorT :: (Monad m ) => Monad (ErrorT e m )
63
63
64
- instance monadRecErrorT :: (Error e , MonadRec m ) => MonadRec (ErrorT e m ) where
64
+ instance monadRecErrorT :: (MonadRec m ) => MonadRec (ErrorT e m ) where
65
65
tailRecM f = ErrorT <<< tailRecM \a -> do
66
66
m <- runErrorT (f a)
67
67
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
52
52
53
53
instance monadExceptT :: (Monad m ) => Monad (ExceptT e m )
54
54
55
- instance monadRecErrorT :: (Semigroup e , MonadRec m ) => MonadRec (ExceptT e m ) where
55
+ instance monadRecExceptT :: (MonadRec m ) => MonadRec (ExceptT e m ) where
56
56
tailRecM f = ExceptT <<< tailRecM \a -> do
57
57
m <- runExceptT (f a)
58
58
return case m of
You can’t perform that action at this time.
0 commit comments