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 0.2.0.1: Version bump for transformers dependency.


Properties

Versions0.2, 0.2.0.1, 0.2.0.2
Dependenciesbase (>=3 && <5), MonadPrompt (==1.0.*), mtl (==1.1.*), random-source (==0.3.*), transformers (>=0.2 && <0.5) or
base (>=3 && <5), MonadPrompt (==1.0.*), mtl (==2.*), random-source (==0.3.*), transformers (>=0.2 && <0.5)
LicensePublicDomain
AuthorJames Cook <mokus@deepbondi.net>
MaintainerJames Cook <mokus@deepbondi.net>
Stabilitystable
CategoryMath
Home pagehttps://github.com/mokus0/random-fu
Source repositoryhead: git clone https://github.com/mokus0/random-fu.git(rvar)
UploadedSun Sep 21 09:34:56 UTC 2014 by DominicSteinitz
DistributionsNixOS:0.2.0.2, Stackage:0.2.0.2
Downloads2664 total (165 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefault
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

Downloads

Maintainers' corner

For package maintainers and hackage trustees