[Haskell-cafe] Convert IO Int to Int

ptrash ptrash at web.de
Tue Jun 9 09:52:29 EDT 2009

Hmm...it am not getting through it. I just want to generate a random number
and then compare it with other numbers. Something like

r = randomRIO (1, 10)
if (r > 5) then... else ...
View this message in context: http://www.nabble.com/Convert-IO-Int-to-Int-tp23940249p23943301.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

More information about the Haskell-Cafe mailing list