generative-art-0.1.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Random.MWC.Extended

Synopsis
  • withRng :: PrimMonad m => Integral seed => [seed] -> (Gen (PrimState m) -> m a) -> m a

Documentation

withRng :: PrimMonad m => Integral seed => [seed] -> (Gen (PrimState m) -> m a) -> m a Source #

Convenience function to generate a random number Generator.