Safe Haskell | Safe-Inferred |
---|
Language.Haskell.Modules.Util.QIO
Description
IO operations predicated on the verbosity value managed by the methods of MonadVerbosity. Noisily increases this value and quietly decreases it, and the q* operations only happen when the value is greater than zero.
Documentation
class MonadIO m => MonadVerbosity m whereSource
Instances
MonadClean m => MonadVerbosity m |
modifyVerbosity :: MonadVerbosity m => (Int -> Int) -> m ()Source
quietly :: MonadVerbosity m => m a -> m aSource
noisily :: MonadVerbosity m => m a -> m aSource
qIO :: MonadVerbosity m => m () -> m ()Source
qPutStr :: MonadVerbosity m => String -> m ()Source
qPutStrLn :: MonadVerbosity m => String -> m ()Source