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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to