[Haskell-cafe] Convert IO Int to Int

Henning Thielemann lemming at henning-thielemann.de
Tue Jun 9 10:06:01 EDT 2009

On Tue, 9 Jun 2009, ptrash wrote:

> I am using the System.Random method randomRIO. How can I convert its output
> to an Int?

in general:

about randomIO:

More information about the Haskell-Cafe mailing list