dunai-0.4.0.0: Generalised reactive framework supporting classic, arrowized and monadic FRP.

Safe HaskellSafe
LanguageHaskell2010

Control.Monad.Trans.MSF.Random

Synopsis

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

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 #