Bug#350443: randomRs eats unbounded heap space

2006-01-31 Thread Ian Lynagh
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

Bug#350443: randomRs eats unbounded heap space

2006-01-29 Thread Daniel Burrows
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