[Haskell-cafe] Re: STM and random numbers

Christian Maeder maeder at tzi.de
Fri Jan 12 11:56:47 EST 2007

Christian Maeder schrieb:
> Chad Scherrer schrieb:
>> Hi,
>> I'd like to be able to use randomIO, but I'm working within the
>> context of STM. Is there a way to get these working together happily?
> How about adding an Int parameter for the inital seed and using setStdGen?

is should be "mkStdGen"

More information about the Haskell-Cafe mailing list