I find it useful to have a seed argument to nearly all random functions rather than using ones with an IO signature. This way you can speed up your program quite a bit and also make testing much easier. I think that MonadRandom does this automatically too. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
- [Haskell-cafe] Random this! ;-) michael rice
- Re: [Haskell-cafe] Random this! ;-) Max Rabkin
- Re: [Haskell-cafe] Random this! ;-) michael rice
- Re: [Haskell-cafe] Random this! ;-) Ozgur Akgun
- Re: [Haskell-cafe] Random this! ;-) michael rice
- Re: [Haskell-cafe] Random this! ;-) Lyndon Maydwell
- Re: [Haskell-cafe] Random this! ;-) michael rice
- Re: [Haskell-cafe] Random this! ;-) Tobias Brandt
- Re: [Haskell-cafe] Random this! ;-) Edward Kmett