[Haskell-cafe] Generate 50 random coordinates

Henning Thielemann lemming at henning-thielemann.de
Sun Dec 3 05:14:19 EST 2006


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


More information about the Haskell-Cafe mailing list