Fix createStdGen
authorIan Lynagh <igloo@earth.li>
Wed, 18 Jul 2007 23:28:36 +0000 (23:28 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 18 Jul 2007 23:28:36 +0000 (23:28 +0000)
commitf823a4377a07490499005261f52e5bbdbe00681e
tree9858d142b8630956c550ca480f28d27f07aa4ad6
parent8d440b3e5e27dc83c34321e1a0508578745d7dfc
Fix createStdGen
It looks like there is an unwritten (as far as I can see) invariant that
StdGen's arguments are positive. Large Integer arguments to createStdGen
would break that invariant.
System/Random.hs