Randoms, arrays, monads etc.

1999-05-27 Thread Marcin 'Qrczak' Kowalczyk
I tried to haskellize an algorithm which poorly fits into the functional style: plasma fractal generation. It computes a rectangular array in a funny order, using previously computed elements, and uses random numbers all the time. It works (I didn't check if the result is correct but it's not imp

RE: Randoms, arrays, monads etc.

1999-05-27 Thread Mark P Jones
It wasn't your main question, but I'd like to respond to one point that you raised: | (Works with ghc. Doesn't work with Hugs because of incompatible Random | module (?).) The Haskell 98 Random library changed quite significantly, and we didn't get to do anything about it before the last pre-rel