You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's very inconvenient to use flip runReaderT r or (runReaderT r) to run monads from mtl stack because first argument of such functions is monad, not environment. I propose to add next functions:
Well, this convention is not obvious, another possible convention can be that using is flip run. I can't say that one is better than another one though.
It's very inconvenient to use
flip runReaderT r
or (runReaderT
r) to run monads frommtl
stack because first argument of such functions is monad, not environment. I propose to add next functions:Maybe it's better to somehow force introduction of such functions directly inside
mtl
.The text was updated successfully, but these errors were encountered: