The Haskell Standard Library – Random Number Generation
This library provides a basic interface for (splittable) random number generators.
The API documentation can be found here:
A module supplying this interface is required for Haskell 98 (but not Haskell 2010). An older [version] (http://www.haskell.org/ghc/docs/latest/html/libraries/haskell98/Random.html) of this library is included with GHC in the haskell98 package. This newer version, with compatible api, is included in the [Haskell Platform] (http://www.haskell.org/platform/contents.html).
Please report bugs in the Github [issue tracker] (https://github.com/haskell/random/issues) (no longer in the GHC trac).
- breaking change to
randomIValIntegerto improve RNG quality and performance see https://github.com/haskell/random/pull/4 and ghc https://ghc.haskell.org/trac/ghc/ticket/8898
- correct documentation about generated range of Int32 sized values of type Int https://github.com/haskell/random/pull/7
- fix memory leaks by using strict fields and strict atomicModifyIORef’ https://github.com/haskell/random/pull/8 related to ghc trac tickets #7936 and #4218
- support for base < 4.6 (which doesnt provide strict atomicModifyIORef’) and integrating Travis CI support. https://github.com/haskell/random/pull/12
- fix C type in test suite https://github.com/haskell/random/pull/9
bump for overflow bug fixes
bump for ticket 8704, build fusion
bump for bug fixes,
bumped version for float/double range bugfix