
5 Feb
2009
5 Feb
'09
5:22 p.m.
2009/2/5 Peter Verswyvelen
Of course you could just put this random generator in the IO monad, but certain algorithms- like Monte Carlo - intuitively don't seem to operate in a IO monad to me.
For PRNGs, only State is needed, not IO. But you might find the `randoms' function useful: it returns in infinite list of pseudo-random values. --Max