Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

Functions for working with `Topic`

s built around monad
transformers. These make it possible to, for example, repeat a
stateful action to produce a `Topic'`

s values.

- runTopicState :: Monad m => Topic (StateT s m) a -> s -> Topic m a
- runTopicState' :: Monad m => Topic (StateT s m) a -> s -> Topic m a
- runTopicReader :: (Functor m, Monad m) => Topic (ReaderT r m) a -> r -> Topic m a
- liftMap :: (MonadTrans t, Monad m, Monad (t m)) => (a -> t m b) -> Topic m a -> Topic (t m) b