Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- runRandS :: (RandomGen g, Monad m) => MSF (RandT g m) a b -> g -> MSF m a (g, b)
- evalRandS :: (RandomGen g, Monad m) => MSF (RandT g m) a b -> g -> MSF m a b
- getRandomS :: (MonadRandom m, Random b) => MSF m a b
- getRandomsS :: (MonadRandom m, Random b) => MSF m a [b]
- getRandomRS :: (MonadRandom m, Random b) => (b, b) -> MSF m a b
- getRandomRS_ :: (MonadRandom m, Random b) => MSF m (b, b) b
- getRandomsRS :: (MonadRandom m, Random b) => (b, b) -> MSF m a [b]
- getRandomsRS_ :: (MonadRandom m, Random b) => MSF m (b, b) [b]
Documentation
runRandS :: (RandomGen g, Monad m) => MSF (RandT g m) a b -> g -> MSF m a (g, b) Source #
Updates the generator every step
evalRandS :: (RandomGen g, Monad m) => MSF (RandT g m) a b -> g -> MSF m a b Source #
Updates the generator every step but discharges the generator
getRandomS :: (MonadRandom m, Random b) => MSF m a b Source #
getRandomsS :: (MonadRandom m, Random b) => MSF m a [b] Source #
getRandomRS :: (MonadRandom m, Random b) => (b, b) -> MSF m a b Source #
getRandomRS_ :: (MonadRandom m, Random b) => MSF m (b, b) b Source #
getRandomsRS :: (MonadRandom m, Random b) => (b, b) -> MSF m a [b] Source #
getRandomsRS_ :: (MonadRandom m, Random b) => MSF m (b, b) [b] Source #