Closed zyla closed 4 years ago
We introduce a new type - RWidget env - which is like Widget, but carries an environment of type Env. Has MonadAsk and MonadReader instance.
RWidget env
Env
MonadAsk
MonadReader
Helpful for transitioning existing code operating in ReaderT Widget stack into just Widget.
ReaderT Widget
Widget
We introduce a new type -
RWidget env
- which is like Widget, but carries an environment of typeEnv
. HasMonadAsk
andMonadReader
instance.Helpful for transitioning existing code operating in
ReaderT Widget
stack into justWidget
.