[Haskell-beginners] Getting random values

Tyler Hayes tgh at pdx.edu
Wed Jan 27 23:52:49 EST 2010

First of all, how do you get a simple random integer in Haskell?

Second, How does one get a random value from a list of non-integer
values?  For example, I would like to pull a random musical note from a
list of notes using the Haskore library.


More information about the Beginners mailing list