---------- Forwarded message ---------- Date: Fri, 24 Mar 2000 15:11:46 +0000 (GMT) From: Deryck F Brown <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Random numbers Michael, > stdGens1 :: [StdGen] > stdGens1 = > stdGens' seed > where > stdGens' seed = mkStdGen seed : stdGens' (seed + 1) Why not use one list of random numbers as the seeds for your new random number generators, viz.: stdGens1 :: [StdGen] stdGens1 = map (mkStdGen) (randoms (mkStdGen seed)) This should be better at avoiding any dependence between the lists due to seeds which are close together. Deryck -- Dr Deryck F Brown, Senior Lecturer | The Robert Gordon University mailto:[EMAIL PROTECTED] | School of Computer and Math Sciences Tel: +44 (0)1224 262729 / Fax: 262727 | St Andrew Street http://www.scms.rgu.ac.uk/staff/db | Aberdeen AB25 1HG