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.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to