On Sun, Jan 29, 2006 at 09:59:44AM -0800, Daniel Burrows wrote:
>
> I was writing a program that needed large quantities of random numbers,
> and so I used randomRs to generate a stream that I could consume:
>
> map (lineChars!) $ randomRs (bounds lineChars) g
>
> lineChars is of course an a
Package: ghc6
Version: 6.4.1-1
Severity: normal
I was writing a program that needed large quantities of random numbers,
and so I used randomRs to generate a stream that I could consume:
map (lineChars!) $ randomRs (bounds lineChars) g
lineChars is of course an array that I'm pulling elements
2 matches
Mail list logo