QuickCheck-2.11.3: 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

bits :: Integral a => a Source #

mask :: Integral a => a Source #

stop :: Integral a => a -> Bool 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 
Instances
Read QCGen Source # 
Instance details

Defined in Test.QuickCheck.Random

Show QCGen Source # 
Instance details

Defined in Test.QuickCheck.Random

Methods

showsPrec :: Int -> QCGen -> ShowS #

show :: QCGen -> String #

showList :: [QCGen] -> ShowS #

RandomGen QCGen Source # 
Instance details

Defined in Test.QuickCheck.Random

Methods

next :: QCGen -> (Int, QCGen) #

genRange :: QCGen -> (Int, Int) #

split :: QCGen -> (QCGen, QCGen) #

Arbitrary QCGen Source # 
Instance details

Defined in Test.QuickCheck.Arbitrary