QuickCheck-2.9.2: Automatic testing of Haskell programs

Safe HaskellTrustworthy
LanguageHaskell98

Test.QuickCheck.Random

Description

A wrapper around the system random number generator. Internal QuickCheck module.

Synopsis

Documentation

newTheGen :: IO TFGen Source #

bits :: Integral a => a Source #

mask :: Integral a => a Source #

chip :: Bool -> Word32 -> TFGen -> TFGen Source #

stop :: Integral a => a -> Bool Source #

mkTheGen :: Int -> TFGen Source #

newtype QCGen Source #

The "standard" QuickCheck random number generator. A wrapper around either TFGen on GHC, or StdGen on other Haskell systems.

Constructors

QCGen TFGen 

bigNatVariant :: Integer -> TFGen -> TFGen Source #

natVariant :: Integral a => a -> TFGen -> TFGen Source #

variantTheGen :: Integral a => a -> TFGen -> TFGen Source #

boolVariant :: Bool -> TFGen -> TFGen Source #