[Haskell-beginners] random

John Moore john.moore54 at gmail.com
Sat Oct 24 12:59:35 EDT 2009

Hi All,
           Can anyone help me I want to produce a list of three random
numbers for e.g. [7,8,1]
I tried using x <- getStdRandom $ randomR (1,10) but don't really understand
this and it only generates one number. Any help greatly appreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20091024/6bd55d58/attachment.html

More information about the Beginners mailing list