pool icon indicating copy to clipboard operation
pool copied to clipboard

Use unliftio over monad-control

Open brandonchinn178 opened this issue 4 years ago • 4 comments

Resolves #31

  • unliftio provides async exception safety with mask
  • MonadUnliftIO, IMO, is a much better interface than MonadBaseControl/MonadBase, and we should encourage users of this library to use unliftio instead of monad-control

brandonchinn178 avatar Nov 23 '20 00:11 brandonchinn178

@basvandijk what do you think about this one?

domenkozar avatar Dec 29 '20 13:12 domenkozar

It feels like the ecosystem is slowly moving away from monad-control. It would be great if this PR could be considered for merge.

alexbiehl avatar Apr 30 '21 06:04 alexbiehl

@brandonchinn178 just FYI, this branch was merged into my fork via this PR, alongside previously applied https://github.com/bos/pool/pull/24

avanov avatar Dec 14 '21 16:12 avanov

https://hackage.haskell.org/package/resource-pool-fork-avanov-0.2.4.0

avanov avatar Dec 14 '21 18:12 avanov