<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Good essay.<br><br>Try this one for a laugh:<br><br><br>http://www.mcs.vuw.ac.nz/comp/Publications/CS-TR-02-9.abs.html<br><br><br>A good place to begin is PDF pg. 19.<br><br>Michael<br><br><br>--- On <b>Sun, 6/7/09, Krzysztof Skrzętnicki <i>&lt;gtener@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Krzysztof Skrzętnicki &lt;gtener@gmail.com&gt;<br>Subject: Re: [Haskell-cafe] Random Number<br>To: "ptrash" &lt;ptrash@web.de&gt;<br>Cc: haskell-cafe@haskell.org<br>Date: Sunday, June 7, 2009, 3:55 PM<br><br><div class="plainMail">On Sun, Jun 7, 2009 at 21:33, ptrash&lt;<a ymailto="mailto:ptrash@web.de" href="/mc/compose?to=ptrash@web.de">ptrash@web.de</a>&gt; wrote:<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; is the are way (or a build in method) in haskell to get a random number
 from<br>&gt; a number bottom to a number top?<br>&gt;<br>&gt; Something like<br>&gt;<br>&gt; let randomNumber = random 1 30<br>&gt;<br>&gt; to get a random number between 1 and 30.<br><br>I don't mean to be rude, but did you even tried to read the<br>documentation? The function you want is here:<br><a href="http://www.haskell.org/ghc/docs/latest/html/libraries/random/System-Random.html" target="_blank">http://www.haskell.org/ghc/docs/latest/html/libraries/random/System-Random.html</a><br><br>Before you ask any other questions please read this essay:<br><a href="http://mattgemmell.com/2008/12/08/what-have-you-tried" target="_blank">http://mattgemmell.com/2008/12/08/what-have-you-tried</a><br><br>Best regards<br><br>Krzysztof Skrzętnicki<br>_______________________________________________<br>Haskell-Cafe mailing list<br><a ymailto="mailto:Haskell-Cafe@haskell.org" href="/mc/compose?to=Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br><a
 href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br></div></blockquote></td></tr></table><br>