Skip to content

Commit e200f86

Browse files
committed
remove unneeded constraint in CPS
1 parent ef2f607 commit e200f86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Control/Monad/Trans/RWS/CPS.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ instance (Functor m, Monad m) => Applicative (RWST r w s m) where
224224
return (f x, s'', w'')
225225
{-# INLINE (<*>) #-}
226226

227-
instance (Functor m, Alternative m, Monad m) => Alternative (RWST r w s m) where
227+
instance (Alternative m, Monad m) => Alternative (RWST r w s m) where
228228
empty = RWST $ \ _ _ _ -> empty
229229
{-# INLINE empty #-}
230230

0 commit comments

Comments
 (0)