pool
pool copied to clipboard
Use unliftio over monad-control
Resolves #31
-
unliftioprovides async exception safety withmask -
MonadUnliftIO, IMO, is a much better interface thanMonadBaseControl/MonadBase, and we should encourage users of this library to useunliftioinstead ofmonad-control
@basvandijk what do you think about this one?
It feels like the ecosystem is slowly moving away from monad-control. It would be great if this PR could be considered for merge.
@brandonchinn178 just FYI, this branch was merged into my fork via this PR, alongside previously applied https://github.com/bos/pool/pull/24
https://hackage.haskell.org/package/resource-pool-fork-avanov-0.2.4.0