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 [EMAIL PROTECTED]
* 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
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries