Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data UseColor
- resolveColor :: MonadIO m => Maybe UseColor -> m UseColor
- data Seed = Seed {}
- resolveSeed :: MonadIO m => Maybe Seed -> m Seed
- data Verbosity
- resolveVerbosity :: MonadIO m => Maybe Verbosity -> m Verbosity
- newtype WorkerCount = WorkerCount Int
- resolveWorkers :: MonadIO m => Maybe WorkerCount -> m WorkerCount
- detectMark :: MonadIO m => m Bool
- detectColor :: MonadIO m => m UseColor
- detectSeed :: MonadIO m => m Seed
- detectVerbosity :: MonadIO m => m Verbosity
- detectWorkers :: MonadIO m => m WorkerCount
Documentation
Whether to render output using ANSI colors or not.
DisableColor | Disable ANSI colors in report output. |
EnableColor | Enable ANSI colors in report output. |
A splittable random number generator.
Instances
Eq Seed Source # | |
Ord Seed Source # | |
Read Seed Source # | |
Show Seed Source # | |
RandomGen Seed Source # | |
Defined in Hedgehog.Internal.Seed genWord8 :: Seed -> (Word8, Seed) # genWord16 :: Seed -> (Word16, Seed) # genWord32 :: Seed -> (Word32, Seed) # genWord64 :: Seed -> (Word64, Seed) # genWord32R :: Word32 -> Seed -> (Word32, Seed) # genWord64R :: Word64 -> Seed -> (Word64, Seed) # genShortByteString :: Int -> Seed -> (ShortByteString, Seed) # | |
Lift Seed Source # | |
How verbose should the report output be.
Quiet | Only display the summary of the test run. |
Normal | Display each property as it is running, as well as the summary. |
newtype WorkerCount Source #
The number of workers to use when running properties in parallel.
Instances
resolveWorkers :: MonadIO m => Maybe WorkerCount -> m WorkerCount Source #
detectMark :: MonadIO m => m Bool Source #
detectColor :: MonadIO m => m UseColor Source #
detectSeed :: MonadIO m => m Seed Source #
detectVerbosity :: MonadIO m => m Verbosity Source #
detectWorkers :: MonadIO m => m WorkerCount Source #