monad-mersenne-random: An efficient random generator monad, based on the Mersenne Twister

[ bsd3, control, library ] [ Propose Tags ]

Often we need an efficient way to generate high quality pseudo-random numbers in Haskell. We have good generators themselves (for example, the mersenne-random-pure64 package), however, users are often tempted to store the generator in a lazy state monad. This causes performance problems.

This package provides an optimized Rand monad for monadic generation of random numbers from a state, with close attention to performance. You may have results an order of magnitude or more better than using Control.Monad.State to store your generator.

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1
Dependencies base (>3 && <4.8), mersenne-random-pure64 (<0.3) [details]
License BSD-3-Clause
Author Don Stewart
Maintainer dons@galois.com
Revised Revision 1 made by HerbertValerioRiedel at 2019-02-08T07:58:22Z
Category Control
Home page http://code.haskell.org/~dons/code/monad-mersenne-random
Uploaded by DonaldStewart at 2010-07-14T00:07:54Z
Distributions
Reverse Dependencies 5 direct, 1 indirect [details]
Downloads 1597 total (4 in the last 30 days)
Rating 2.5 (votes: 3) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]