[Haskell-cafe] Random Number

ptrash ptrash at web.de
Sun Jun 7 15:33:23 EDT 2009


Hi, 

is the are way (or a build in method) in haskell to get a random number from
a number bottom to a number top?

Something like

let randomNumber = random 1 30

to get a random number between 1 and 30.
-- 
View this message in context: http://www.nabble.com/Random-Number-tp23914474p23914474.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list