random number library

Version on this page:1.1@rev:1
LTS Haskell 22.29:
Stackage Nightly 2024-07-13:
Latest on Hackage:

See all snapshots random appears in

BSD-3-Clause licensed
Maintained by carter dot schonwald at google mail dot com
This version can be pinned in stack with:random-1.1@sha256:7b67624fd76ddf97c206de0801dc7e888097e9d572974be9b9ea6551d76965df,1777

Module documentation for 1.1

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:


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



bump for overflow bug fixes

bump for ticket 8704, build fusion

bump for bug fixes,

bumped version for float/double range bugfix