On 17 Dec 2002, Ketil Z. Malde wrote: (snip) > dice :: Integer -> StdGen -> [Integer] > dice n g = take n $ randomRs (1,6) g
Can we still do this concisely and get the new state of the rng back out the other end after the die has been thrown a few times? Or are things like newStdGen meant to be so cheap that it's fine to use lots of different RNGs instead of one that you thread through everything? -- Mark _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
