We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef2f607 commit e200f86Copy full SHA for e200f86
1 file changed
Control/Monad/Trans/RWS/CPS.hs
@@ -224,7 +224,7 @@ instance (Functor m, Monad m) => Applicative (RWST r w s m) where
224
return (f x, s'', w'')
225
{-# INLINE (<*>) #-}
226
227
-instance (Functor m, Alternative m, Monad m) => Alternative (RWST r w s m) where
+instance (Alternative m, Monad m) => Alternative (RWST r w s m) where
228
empty = RWST $ \ _ _ _ -> empty
229
{-# INLINE empty #-}
230
0 commit comments