[Haskell-cafe] Annoyed at System.Random
es at ertes.de
Fri May 4 02:26:21 CEST 2012
Thomas DuBuisson <thomas.dubuisson at gmail.com> wrote:
> I've grown annoyed at System.Random enough (specifically, StdGen).
> How much, if any, pushback would there be if I put together a FFI
> binding to a C AES-CTR based RNG. There are many advantages:
> I'd be tempted to pull in the 'entropy' package for seeding, but will
> make that a separate proposal.
Why reinvent the wheel?
Has both a System.Random and a Crypto-API interface. As such it is
already connected to the 'entropy' package.
nightmare = unsafePerformIO (getWrongWife >>= sex)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Haskell-Cafe