On Fri, 1 Dec 2006, Huazhi (Hank) Gong wrote: > myrand :: Int > myrand = randomRIO(1::Int, 100) concerning random and IO: http://haskell.org/haskellwiki/Things_to_avoid#Separate_IO_and_data_processing