We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e7af95 + deaae6e commit f924b24Copy full SHA for f924b24
tests/default_typeclass.x
@@ -285,7 +285,6 @@ instance (Monad m) => Monad (StateT s m) where
285
m >>= k = StateT $ \s -> do
286
(a, s') <- runStateT m s
287
runStateT (k a) s'
288
- fail str = StateT $ \_ -> fail str
289
290
-- | Fetch the current value of the state within the monad.
291
get' :: (Monad m) => StateT s m s
0 commit comments