The Rand monad you linked seems to be a step in the right direction for what I want, but it uses getStdGen, which appears to end up using cpu time to seed the generator.
Matthew Hayden <mrehayden@googlemail.com> wrote:It's a poor PRNG. And no, it's not anywhere near suitable for
> What's wrong with the System.Random.StdGen implementation of
> RandomGen?[1] (I'm not sure if it's cryptographically safe)
cryptographic applications.
by "Cale Gibbard and others"
> Someone (Cale IIRC) has already implemented a Rand monad[2] which is
> like a state monad but it keeps a RandomGen instead.
Greets,
Ertugrul
--
nightmare = unsafePerformIO (getWrongWife >>= sex)
http://blog.ertes.de/
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe