Open Shimuuar opened 9 years ago
We have following function in statistics:
splitGen :: Int -> GenIO -> IO [GenIO] splitGen n gen | n <= 0 = return [] | otherwise = fmap (gen:) . replicateM (n-1) $ initialize =<< (uniformVector gen 256 :: IO (U.Vector Word32))
I thing it makes sense to move it to mwc-random and generalize to PrimMonad. We however need to understand consequences of such splitting algorithm
mwc-random
PrimMonad
We have following function in statistics:
I thing it makes sense to move it to
mwc-random
and generalize toPrimMonad
. We however need to understand consequences of such splitting algorithm