test-framework-0.8.2.1: Framework for running and organising tests, with HUnit and QuickCheck support
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Framework.Seed

Synopsis

Documentation

data Seed Source #

Constructors

FixedSeed Int 
RandomSeed 

Instances

Instances details
Read Seed Source # 
Instance details

Defined in Test.Framework.Seed

Show Seed Source # 
Instance details

Defined in Test.Framework.Seed

Methods

showsPrec :: Int -> Seed -> ShowS #

show :: Seed -> String #

showList :: [Seed] -> ShowS #

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.