
29 Dec
2011
29 Dec
'11
2:55 p.m.
If seed depends of psudo random event, for example of current systime,
we must use IO action.
30.12.2011, 02:47, "Steve Horne"
BTW - why use an IO action for random number generation? There's a perfectly good pure generator. It's probably handy to treat it monadically to sequence the generator state/seed/whatever but random number generation can be completely pure.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe