Version 1.3.0 is missing an instance SplitGen g => SplitGen (StateGen g).
It could be easily fixed in the source code by visiting newtype StateGen g = ... deriving (..., RandomGen, ... and adding SplitGen, much like how it's done in IOGen, STGen, etc.
Thanks.
Version 1.3.0 is missing an
instance SplitGen g => SplitGen (StateGen g).It could be easily fixed in the source code by visiting
newtype StateGen g = ... deriving (..., RandomGen, ...and addingSplitGen, much like how it's done inIOGen,STGen, etc.Thanks.