mt19937: Efficient MT19937 (standard 32-bit Mersenne Twister PRNG) implementation in pure Haskell

[ data, library, mit, random ] [ Propose Tags ]

Please see README.md.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0
Change log CHANGELOG.md
Dependencies base (>=4.18.0.0 && <4.19), vector (>=0.13.1.0 && <0.14) [details]
License MIT
Author Ben Orchard
Maintainer Ben Orchard <thefirstmuffinman@gmail.com>
Category Data, Random
Home page https://github.com/raehik/mt19937-hs#readme
Bug tracker https://github.com/raehik/mt19937-hs/issues
Source repo head: git clone https://github.com/raehik/mt19937-hs
Uploaded by raehik at 2024-03-15T03:13:48Z
Distributions NixOS:0.1.0
Downloads 19 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for mt19937-0.1.0

[back to package description]

mt19937: MT19937 implementation in pure Haskell

What it says on the box.

Only the PRNG itself is implemented. If you'd like to use this as a PRNG in any capacity, you'll need to wrap it into some monad or some such.

Doesn't seem too useful? You'd be surprised. This was originally written while decoding a file header which was bafflingly encoded using a set-seed MT19937.

License

Provided under the MIT license. See LICENSE for license text.