
24 Jul
2009
24 Jul
'09
1:42 a.m.
On Jul 24, 2009, at 01:35 , Michael P Mossey wrote:
Can I get a few examples or pointers? I believe I will have to run this in a State monad or the IO monad, will I not?
IO is only needed to get an initial seed. The standard random number functions are designed for use with State, but you might also want to look at http://hackage.haskell.org/package/MonadRandom . -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH