Cabal-1.18.1.5: A framework for packaging Haskell software

Copyright | Ian Lynagh 2007
Maintainer | cabal-devel@haskell.org
Portability | portable
Safe Haskell | Safe-Inferred
Language | Haskell98

Distribution.Verbosity

Contents

- Verbosity

Description

A simple `Verbosity` type with associated utilities. There are 4 standard verbosity levels from `silent`, `normal`, `verbose` up to `deafening`. This is used for deciding what logging messages to print.

Synopsis

- data Verbosity
- silent :: Verbosity
- normal :: Verbosity
- verbose :: Verbosity
- deafening :: Verbosity
- moreVerbose :: Verbosity -> Verbosity
- lessVerbose :: Verbosity -> Verbosity
- intToVerbosity :: Int -> Maybe Verbosity
- flagToVerbosity :: ReadE Verbosity
- showForCabal :: Verbosity -> String
- showForGHC :: Verbosity -> String

# Verbosity

data Verbosity

Instances

Bounded Verbosity |
Enum Verbosity |
Eq Verbosity |
Ord Verbosity |
Read Verbosity |
Show Verbosity |

silent :: Verbosity

normal :: Verbosity

verbose :: Verbosity

deafening :: Verbosity

moreVerbose :: Verbosity -> Verbosity

lessVerbose :: Verbosity -> Verbosity

intToVerbosity :: Int -> Maybe Verbosity

flagToVerbosity :: ReadE Verbosity

showForCabal :: Verbosity -> String

showForGHC :: Verbosity -> String