The rvar package

[Tags: library, public-domain]

Random number generation based on modeling random variables by an abstract type (RVar) which can be composed and manipulated monadically and sampled in either monadic or "pure" styles.

The primary purpose of this library is to support defining and sampling a wide variety of high quality random variables. Quality is prioritized over speed, but performance is an important goal too.

In my testing, I have found it capable of speed comparable to other Haskell libraries, but still a fair bit slower than straight C implementations of the same algorithms.

Changes in Version bump for transformers dependency.


Dependenciesbase (>=3 && <5), MonadPrompt (==1.0.*), mtl (==1.1.*), random-source (==0.3.*), transformers (>=0.2 && <0.4) or
base (>=3 && <5), MonadPrompt (==1.0.*), mtl (==2.*), random-source (==0.3.*), transformers (>=0.2 && <0.4)
AuthorJames Cook <>
MaintainerJames Cook <>
Home page
Source repositoryhead: git clone
UploadedFri Apr 13 12:12:02 UTC 2012 by JamesCook
DistributionsNixOS:, Stackage:
Downloads2688 total (141 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]




mtl2mtl-2 has State, etc., as "type" rather than "newtype"Enabled

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


Maintainers' corner

For package maintainers and hackage trustees