Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
module Control.Monad.State
liftState :: MonadState s m => State s a -> m a Source #
whenS :: MonadState s m => (s -> Bool) -> m () -> m () Source #
unlessS :: MonadState s m => (s -> Bool) -> m () -> m () Source #