Test.Framework.Seed
data Seed Source #
Constructors
Defined in Test.Framework.Seed
Methods
readsPrec :: Int -> ReadS Seed Source #
readList :: ReadS [Seed] Source #
readPrec :: ReadPrec Seed Source #
readListPrec :: ReadPrec [Seed] Source #
showsPrec :: Int -> Seed -> ShowS Source #
show :: Seed -> String Source #
showList :: [Seed] -> ShowS Source #
newSeededStdGen :: Seed -> IO (StdGen, Int) Source #
Given a Seed, returns a new random number generator based on that seed and the actual numeric seed that was used to build that generator, so it can be recreated.
Seed
newStdGenWithKnownSeed :: IO (StdGen, Int) Source #