The random-source package

[Tags:library, public-domain]

Random number generation based on entropy sources able to produce a small but well-defined set of primitive variates. Also includes facilities for "completing" partial implementations, making it easy to define new entropy sources in a way that is naturally forward-compatible.

Changes in Fixed overzealous fix in The people responsible for sacking the people who have been sacked, etc., have been sacked.

Changes in Renamed some internal modules and accidentally some external ones too. Whoops. Please don't use this version, it will only end in tears.

Changes in Fixed a typo that broke building with MTL-1

Changes in Fixes for GHC's deprecation of Foreign.unsafePerformIO

Changes in Fixes for GHC 7.2.*'s crazy Template Haskell changes.


Versions 0.3,,,,
Dependencies base (>=3 && <5), flexible-defaults (>=, mersenne-random-pure64, mtl (>=1 && <3), mwc-random, random, stateref (==0.3.*), syb, template-haskell, th-extras [details]
License PublicDomain
Author James Cook <>
Maintainer James Cook <>
Stability provisional
Category Math
Home page
Source repository head: git clone
Uploaded Tue Jul 16 05:29:48 UTC 2013 by JamesCook
Distributions Debian:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 4681 total (10 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




base4base-4 and above do not include sybEnabledAutomatic
mtl2mtl-2 has State, etc., as "type" rather than "newtype"EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees