Definition and processing of options for CurryCheck
defaultOptions
:: Options
|
options
:: [OptDescr (Options -> Options)]
|
processOpts
:: Options -> IO Options
Further option processing, e.g., setting coloring mode. |
isQuiet
:: Options -> Bool
|
putStrIfNormal
:: Options -> String -> IO ()
Print second argument if verbosity level is not quiet: |
putStrIfDetails
:: Options -> String -> IO ()
Print second argument if verbosity level > 1: |
putStrLnIfDebug
:: Options -> String -> IO ()
Print second argument if verbosity level > 3: |
withColor
:: Options -> (String -> String) -> String -> String
use some coloring (from library AnsiCodes) if color option is on: |
Constructors:
Options
:: Bool -> Int -> Bool -> Int -> Int -> String -> Bool -> Bool -> Bool -> Bool -> Bool -> EquivOption -> Bool -> Bool -> String -> Options
Fields:
optHelp
:: Bool
optVerb
:: Int
optKeep
:: Bool
optMaxTest
:: Int
optMaxFail
:: Int
optDefType
:: String
optSource
:: Bool
optProp
:: Bool
optSpec
:: Bool
optDet
:: Bool
optProof
:: Bool
optEquiv
:: EquivOption
optTime
:: Bool
optColor
:: Bool
optMainProg
:: String
Options for equivalence tests.
Constructors:
Safe
:: EquivOption
Autoselect
:: EquivOption
Manual
:: EquivOption
|
Further option processing, e.g., setting coloring mode. |
Print second argument if verbosity level is not quiet: |
Print second argument if verbosity level > 1: |
Print second argument if verbosity level > 3: |