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.

Versions [faq] 0.1
Dependencies base (>3 && <6), mersenne-random-pure64 [details]
License BSD-3-Clause
Author Don Stewart
Category Control
Home page
Uploaded by DonaldStewart at Wed Jul 14 00:07:54 UTC 2010
Distributions NixOS:0.1
Downloads 899 total (18 in the last 30 days)
Rating 2.5 (votes: 3) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees