Skip to content

Commit bd76b37

Browse files
committed
remove unneeded constraint in CPS
1 parent fa553ca commit bd76b37

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
@@ -213,7 +213,7 @@ instance (Monad m) => Applicative (RWST r w s m) where
213213
return (f x, s'', w'')
214214
{-# INLINE (<*>) #-}
215215

216-
instance (Functor m, Alternative m, Monad m) => Alternative (RWST r w s m) where
216+
instance (Alternative m, Monad m) => Alternative (RWST r w s m) where
217217
empty = RWST $ \ _ _ _ -> empty
218218
{-# INLINE empty #-}
219219

0 commit comments

Comments
 (0)