Cesar Augusto Acosta Minoli wrote:

> <P>Hello! I just Wanna Know, What should I do, to build a List of
> random Numbers, without&nbsp; IO type, just Float or Int</P>

Use randoms or randomRs in conjunction with either mkStdGen or your
own instance of RandomGen, all from the Random module.

You only get an IO monad from randomIO and randomRIO or if you use the
"global" RNG (getStdGen, getStdRandom etc).

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to