Safe Haskell | Trustworthy |
---|
A wrapper around the system random number generator. Internal QuickCheck module.
- newTheGen :: IO TFGen
- bits :: Integral a => a
- doneBit :: Integral a => a
- mask :: Integral a => a
- chip :: Bool -> Word32 -> TFGen -> TFGen
- chop :: Integer -> Integer
- stop :: Integral a => a -> Bool
- mkTheGen :: Int -> TFGen
- newtype QCGen = QCGen TFGen
- newQCGen :: IO QCGen
- mkQCGen :: Int -> QCGen
- bigNatVariant :: Integer -> TFGen -> TFGen
- natVariant :: Integral a => a -> TFGen -> TFGen
- variantTheGen :: Integral a => a -> TFGen -> TFGen
- boolVariant :: Bool -> TFGen -> TFGen
- variantQCGen :: Integral a => a -> QCGen -> QCGen
Documentation
The standard QuickCheck random number generator.
A wrapper around either TFGen
on GHC, or StdGen
on other Haskell systems.
QCGen TFGen |
bigNatVariant :: Integer -> TFGen -> TFGenSource
natVariant :: Integral a => a -> TFGen -> TFGenSource
variantTheGen :: Integral a => a -> TFGen -> TFGenSource
boolVariant :: Bool -> TFGen -> TFGenSource
variantQCGen :: Integral a => a -> QCGen -> QCGenSource