Manlio Perillo <manlio_peri...@libero.it> writes:

> The stream generator implements tha RandomGen interface.

This is really cool, though I think 'split' is a must. Maybe all
instances could share the same stream in the background, then it
wouldn't cause resource issues.

Also, IMHO mkStream should produce an IO Stream (like getStdGen), as
current implementation isn't referentially transparent; let the library
user decide whether to use unsafePerformIO.

> 3) I have tested the package on Debian Linux Etch, using GHC 6.8.2.

Tested with Gentoo Linux on a 64-bit machine using GHC 6.10.1. On my
system, it is less than 2 times slower than StdGen.

-- 

Gökhan San
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to