| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Test.Framework.Seed
Synopsis
- data Seed
- = FixedSeed Int
- | RandomSeed
- newSeededStdGen :: Seed -> IO (StdGen, Int)
- newStdGenWithKnownSeed :: IO (StdGen, Int)
Documentation
Constructors
| FixedSeed Int | |
| RandomSeed |
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.
newStdGenWithKnownSeed :: IO (StdGen, Int) Source #