withReader -package:dunai
Execute a computation in a modified environment (a specialization of
withReaderT).
Deprecated: withReader doesn't work correctly for all potential
interpreters
Execute a computation in a modified environment.
Execute a computation in a modified environment (a more general
version of
local).
Execute a computation in a modified environment (a more general
version of
local).
Modify the environment of the underlying ReaderT monad.
Decodes the container as a list of values of the requested type.
The provided reader schema will be de-conflicted with the schema
embedded with the container.
Errors are reported as a part of the list and the list will stop at
first error. This means that the consumer will get all the "good"
content from the container until the error is detected, then this
error and then the list is finished.