[Haskell-cafe] How do I generate random numbers using random-fu, with platform-agnostic code?
Andrew Pennebaker
andrew.pennebaker at gmail.com
Fri Sep 14 02:04:49 CEST 2012
I can't figure out how to use Data.Random.Source.IO to generate random
numbers in a multiplatform way.
I can generate random numbers in Unix using Data.Random.Source.DevRandom,
and there is an example in the GitHub documentation for Windows using
Data.Random.Source.MWC, but there is no example code for using
Data.Random.Source.IO.
Cheers,
Andrew Pennebaker
www.yellosoft.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120913/f63ed3f0/attachment.htm>
More information about the Haskell-Cafe
mailing list