
14 Sep
2010
14 Sep
'10
11:04 p.m.
On 15 September 2010 09:44, Thomas DuBuisson
The "split" routine in the RandomGen seems to be a sore spot for some people and is perceived to have few users (even as a percentage of RandomGen users). I propose:
1) Making a class "SplittableGen":
class SplittableGen g where split :: g -> (g, g)
2) (re)moving the "split" routine from the RandomGen class.
See ticket 4314 [1] for the patch.
Period of discussion: Till October 8 (3.5 weeks, ending just over 1 week after ICFP)
Without split, isn't it rather difficult to use randoms and randomRs and then keep doing other random calls (without using the same seed)? That's the only reason I've used split before... -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com