[Haskell-cafe] using ResourceT with MVars

Warren Harris warrensomebody at gmail.com
Wed May 2 11:19:30 CEST 2012

On May 2, 2012, at 2:06 AM, Michael Snoyman wrote:

> I don't really know the details of LevelDB, but if the question is
> "how do I run MVar operations in ResourceT",


> the answer would be
> lifted-base[1]. Since ResourceT is an instance of MonadBaseControl,
> you can use any of the functions in Control.Concurrent.MVar.Lifted.

Perfect. I didn't know about lifted-base. Many thanks,


More information about the Haskell-Cafe mailing list