
2 May
2012
2 May
'12
9:19 a.m.
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",
yes
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, Warren