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
I'm kind of eager to use Checked with monad transformers, and not just a raw IO.
monad-control doesn't have a great user experience (the boilerplate to create MonadBaseControl and MonadTransControl instances, for example), but it does solve a problem with monad transformers; we want to be able to unstack the transformer stack to get to the base, run a function, and then stack everything back again.
And as a second step, maybe make another module for unliftio. That way I'm not forcing people to chose between MonadBase and MonadIO.
But maybe this is all a low priority because the exceptions approach of Monad{Catch,Throw,Mask} can go far enough.
The text was updated successfully, but these errors were encountered:
shajra
changed the title
Implement a Control.Exception.Checked.Lifted module
Implement a Control.Exception.Checked.{Lifted,Unlift} module
Nov 13, 2018
I'm kind of eager to use
Checked
with monad transformers, and not just a rawIO
.monad-control
doesn't have a great user experience (the boilerplate to createMonadBaseControl
andMonadTransControl
instances, for example), but it does solve a problem with monad transformers; we want to be able to unstack the transformer stack to get to the base, run a function, and then stack everything back again.And as a second step, maybe make another module for
unliftio
. That way I'm not forcing people to chose betweenMonadBase
andMonadIO
.But maybe this is all a low priority because the
exceptions
approach ofMonad{Catch,Throw,Mask}
can go far enough.The text was updated successfully, but these errors were encountered: