
15 Jan
2004
15 Jan
'04
2:25 a.m.
Hi, I need some assistances in calling random number generator using 6.0.1 haskell compiler. To return a list of random int [Int], I have tried the following: drawInt :: Int->Int -> [Int] drawInt x y = getStdRandom (randomRs (x,y)) It has a type error. I would appreciate if you know how to fix it. Thank you in advance. Tina Yu http://www.improvise.ws --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes