<DIV>
<DIV>
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I need some assistances in calling random number generator&nbsp;using 6.0.1 haskell compiler. To return a list of random int [Int], I have tried&nbsp; the following:</DIV>
<DIV>&nbsp;</DIV>
<DIV>drawInt :: Int-&gt;Int -&gt; [Int]<BR>drawInt x y =&nbsp; getStdRandom (randomRs (x,y))</DIV>
<DIV>&nbsp;</DIV>
<DIV>It has a type error. I would appreciate if you know how to fix it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you in advance.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Tina Yu</DIV>
<DIV><A href="http://www.improvise.ws/" target=_blank>http://www.improvise.ws</A></DIV></DIV></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Hotjobs: <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</a>