[Haskell-cafe] StdGen Reliability Across Versions / Systems

Christopher Howard ch.howard at zoho.com
Sat Aug 27 05:13:17 UTC 2016


I know that, ff you feed mkStdGen a particular seed, and pull a list of
random numbers from that StdGen, that that the list will always be the
same if your run your compiled program over and over again on that same
system. But which of the following will cause you to get different output?:

1) Changes in GHC version
2) Changes in "random" library version
3) Compiling / Running on a different host computer (but compiling with
the same GHC & random versions.

-- 
https://qlfiles.net
My PGP public key ID is 0x340EA95A (pgp.mit.edu).



More information about the Haskell-Cafe mailing list