[prev in list] [next in list] [prev in thread] [next in thread]
List: haskell-beginners
Subject: [Haskell-beginners] Getting random values
From: Tyler Hayes <tgh () pdx ! edu>
Date: 2010-01-28 4:52:49
Message-ID: 1264654369.3412.30.camel () ubuntu ! ubuntu-domain
[Download RAW message or body]
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.
Thanks,
Tyler
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic