Safe Haskell | Trustworthy |
---|---|
Language | Haskell98 |
A wrapper around the system random number generator. Internal QuickCheck module.
- newTheGen :: IO TFGen
- bits :: Integral a => a
- mask :: Integral a => a
- doneBit :: 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
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 #