htestu-0.1.1.2: A library for testing correctness of pseudo random number generators in Haskell.

Safe HaskellSafe
LanguageHaskell2010

Test.HTestU.Streaming

Synopsis

Documentation

type RandomStream = [Int] Source #

Synonym for an infinite stream of random numbers

nextStreamFromGen :: RandomGen g => g -> RandomStream Source #

Generates a stream from a PRNG by using a repeated next application

splitNextStreamFromGen :: RandomGen g => g -> RandomStream Source #

Splits a provided generator and intertwines the generated random streams

leftSplitStreamFromGen :: RandomGen g => g -> RandomStream Source #

Generates a stream from a PRNG by using split and a left generator to produce a next random number

rightSplitStreamFromGen :: RandomGen g => g -> RandomStream Source #

Generates a stream from a PRNG by using split and a right generator to produce a next random number