cvs commit: fptools/libraries/base/System Random.hs
Ian Lynagh
igloo at earth.li
Sun Sep 3 20:14:15 EDT 2006
igloo 2006/09/03 17:14:15 PDT
Modified files: (Branch: ghc-6-4-branch)
libraries/base/System Random.hs
Log:
Merge:
Fri Jul 7 16:19:01 BST 2006 simonpj at microsoft
* Add missing method genRange for StdGen (fixes #794)
MERGE TO STABLE
Trac #794 reports (correctly) that the implementation of StdGen
only returns numbers in the range (0..something) rather than
(minBound, maxBound), which is what StdGen's genRange claims.
This commit fixes the problem, by implementing genRange for StdGen
(previously it just used the default method).
Revision Changes Path
1.19.4.1 +4 -0 fptools/libraries/base/System/Random.hs
More information about the Cvs-libraries
mailing list