Skip to content

Commit 4544746

Browse files
committed
Remove Semigroup constraint on monadRecErrorT
1 parent d0924e6 commit 4544746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Control/Monad/Except/Trans.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ instance bindExceptT :: (Monad m) => Bind (ExceptT e m) where
5252

5353
instance monadExceptT :: (Monad m) => Monad (ExceptT e m)
5454

55-
instance monadRecErrorT :: (Semigroup e, MonadRec m) => MonadRec (ExceptT e m) where
55+
instance monadRecErrorT :: (MonadRec m) => MonadRec (ExceptT e m) where
5656
tailRecM f = ExceptT <<< tailRecM \a -> do
5757
m <- runExceptT (f a)
5858
return case m of

0 commit comments

Comments
 (0)