We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa553ca commit bd76b37Copy full SHA for bd76b37
1 file changed
Control/Monad/Trans/RWS/CPS.hs
@@ -213,7 +213,7 @@ instance (Monad m) => Applicative (RWST r w s m) where
213
return (f x, s'', w'')
214
{-# INLINE (<*>) #-}
215
216
-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
217
empty = RWST $ \ _ _ _ -> empty
218
{-# INLINE empty #-}
219
0 commit comments