Popularity
1.9
Declining
Activity
1.8
Growing
1
3
0

Monthly Downloads: 5
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Control     Fused    
Latest version: v0.0.0.0

fused-effects-mwc-random alternatives and similar packages

Based on the "fused" category.
Alternatively, view fused-effects-mwc-random alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of fused-effects-mwc-random or a related project?

Add another 'fused' Package

README

fused-effects-mwc-random

Hackage [BSD3 license](LICENSE)

High-quality uniformly-distributed pseudorandom number generation as an effect.

This library provides a Random effect that piggybacks atop the mwc-random package, which produces high-quality random numbers in efficient time. A carrier type (Control.Carrier.Random.Lifted) encapsulates generator state and provides a convenient API to invoke system random number generation or pass a predefined seed. The mwc-random package is finely tuned; as such, this package should be an industrial-strength source of random numbers, suitable for tight loops.

Please note that the MWC-256 algorithm that underlies mwc-random is not cryptographically secure and should not be used for such purposes. Crypto code should use cryptonite, as I'm sure you already know.

For more advanced users, there exists also a module (Control.Carrier.Random.Instances) that provides the orphan instances required to use most fused-effect stacks with the PrimMonad machinery that powers mwc-random. This module is most useful when porting monad transformer stacks that already use the mwc-random API, or if you need to drop into the native mwc-random API.


*Note that all licence references and agreements mentioned in the fused-effects-mwc-random README section above are relevant to that project's source code only.