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

Language | Haskell2010 |

The multi-valued version of mtl's MonadReader

- class Monad m => MonadMultiReader a m where
- mAsk :: m a

# MonadMultiReader class

class Monad m => MonadMultiReader a m where Source

All methods must be defined.

The idea is: Any monad stack is instance of `MonadMultiReader a`

, iff
the stack contains a `MultiReaderT x`

with *a* element of *x*.

(MonadTrans t, Monad (t m), MonadMultiReader a m) => MonadMultiReader a (t m) Source | |

(Monad m, ContainsType a c) => MonadMultiReader a (MultiReaderT c m) Source | |

(Monad m, ContainsType a c) => MonadMultiReader a (MultiReaderT c m) Source | |

(Monad m, ContainsType a r) => MonadMultiReader a (MultiRWST r w s m) Source | |

(Monad m, ContainsType a r) => MonadMultiReader a (MultiRWST r w s m) Source |