[Haskell-cafe] Re: STM and random numbers

Christian Maeder maeder at tzi.de
Fri Jan 12 11:51:36 EST 2007

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?


More information about the Haskell-Cafe mailing list