Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data Verbosity = Verbosity {}
- putNormalLn :: MonadIO m => Verbosity -> String -> m ()
- putVerboseLn :: MonadIO m => Verbosity -> String -> m ()
- verboseOption :: Parser Bool
- quietOption :: Parser Bool
- verbosityOption :: Parser Verbosity
Type
On non-zero exit code, stderr
messages are printed regardless of verbosity
Printing
putNormalLn :: MonadIO m => Verbosity -> String -> m () Source #
For output that one might want to use programmatically
Goes to stdout.
Can be suppressed with the --quiet
flag.
putVerboseLn :: MonadIO m => Verbosity -> String -> m () Source #
For extra chatty messages
Goes to stderr so that the output that one might want to use programmatically can be captured separately.
Does not print unless the --verbose
flag is used.
Options
quietOption :: Parser Bool Source #