doc: MonadReader
This commit is contained in:
parent
50b2ad89b4
commit
af5efe0b2d
1 changed files with 4 additions and 3 deletions
|
|
@ -2967,9 +2967,10 @@ end
|
|||
end ReaderT
|
||||
|
||||
/--
|
||||
An implementation of [`MonadReader`]. It does not contain `local` because this
|
||||
function cannot be lifted using `monadLift`. Instead, the `MonadReaderAdapter`
|
||||
class provides the more general `adaptReader` function.
|
||||
An implementation of Haskell's [`MonadReader`] (sans functional dependency; see also `MonadReader`
|
||||
in this module). It does not contain `local` because this
|
||||
function cannot be lifted using `monadLift`. `local` is instead provided by
|
||||
the `MonadWithReader` class as `withReader`.
|
||||
|
||||
Note: This class can be seen as a simplification of the more "principled" definition
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue