alternators-0.1.2.0: Handy functions when using transformers

Synopsis

# Documentation

This can enable past-Dependence. Elm has foldp : (a -> state -> state) -> state -> Signal a -> Signal state This is equivalent to a creating a StateT state (Signal m) ()
runReaderM is a more general form of StateT state (Signal m) () where given a reader monad to transform "a" to "c" with effects, and an "as" monad that produces "a"s with other effects, run the result of "as" through the reader monad to produce "c"s with both effects.  runReaderM :: Monad m => Reader a (State s) c -> m a -> StateT s m c runReaderM :: Reader a (State s) c -> Signal STM a -> StateT state (Signal STM) c runReaderM :: Reader a (State s) c -> Pipes.Concurrent.Input a -> StateT state Pipes.Concurrent.Input c