random

random number library

Version on this page:1.0.1.1
LTS Haskell 11.6:1.1
Stackage Nightly 2018-04-25:1.1
Latest on Hackage:1.1

See all snapshots random appears in

BSD3 licensed
Maintained by carter dot schonwald at google mail dot com

Module documentation for 1.0.1.1

There are no documented modules for this package.

The Haskell Standard Library -- Random Number Generation

Build Status

This library provides a basic interface for (splittable) random number generators.

The API documentation can be found here:

http://hackage.haskell.org/package/random/docs/System-Random.html

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).

Changes

1.1

  • breaking change to randomIValInteger to 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

1.0.1.1

bump for overflow bug fixes

1.0.1.2

bump for ticket 8704, build fusion

1.0.1.0

bump for bug fixes,

1.0.0.4

bumped version for float/double range bugfix

comments powered byDisqus