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
Version 0.3.0.0 changed the type of withResource from
MonadBaseControlIO m =>Pool a -> (a -> m b) -> m b
to
Pool a -> (a ->IO r) ->IO r
I'm not the biggest fan of MonadBaseControl, but it was nice to be able to do withResource in more general monad stacks. Would it be possible to bring something like that back? I think MonadUnliftIO is a nice candidate.
P.S. Thanks for maintaining this library!
The text was updated successfully, but these errors were encountered:
Version 0.3.0.0 changed the type of
withResource
fromto
I'm not the biggest fan of
MonadBaseControl
, but it was nice to be able to dowithResource
in more general monad stacks. Would it be possible to bring something like that back? I think MonadUnliftIO is a nice candidate.P.S. Thanks for maintaining this library!
The text was updated successfully, but these errors were encountered: