TonyGen / mongoDB-haskell

MongoDB driver for Haskell
http://hackage.haskell.org/package/mongoDB
Apache License 2.0
57 stars 14 forks source link

Updating to monad-control-0.3, with help from Bas van Dijk. #9

Closed NathanHowell closed 12 years ago

TonyGen commented 12 years ago

Thanks guys!

gregwebs commented 12 years ago

Can we get this released onto Hackage, or does it need more testing?

TonyGen commented 12 years ago

Hi Greg, I'm going to make a release tomorrow. Cheers.

TonyGen commented 12 years ago

A user found a bug in monad-control, so I'm postponing releasing this until it is fixed. See https://github.com/basvandijk/lifted-base/issues/1

gregwebs commented 12 years ago

is this issue present in monad-control 0.2 also? BTW, we have code like the following:

#if MIN_VERSION_monad_control(0, 3, 0)
import Control.Monad.Trans.Control (MonadBaseControl)
#define MBCIO MonadBaseControl IO
#else
import Control.Monad.IO.Control (MonadControlIO)
#define MBCIO MonadControlIO
#endif
TonyGen commented 12 years ago

Yes, this issue is also present in monad_control 0.2 and thus current mongoDB

gregwebs commented 12 years ago

So it doesn't seem that there is reason to put releasing a new driver with monad-control-0.3 on hold. Looks like you are going to solve your issue soon anyways though.

TonyGen commented 12 years ago

If Bas doesn't update monad-control in a week or so with his getValue fix. I will make my covert channel fix to my local generalized MVar and make a new release of mongoDB.

snoyberg commented 12 years ago

What's the status of this? I see the issue is closed, but the code on Hackage still requires 0.2.*. I ask because we're getting issues filed in Yesod about this, and I'd like to be able to test mongoDB with the upcoming release. As it stands now, we've completely removed mongoDB from our build scripts.

scan commented 12 years ago

I'd really like to know myself, because without this little bump I can't start my project.

TonyGen commented 12 years ago

Hi guys, When lifted-base is released with fix from https://github.com/basvandijk/lifted-base/issues/1, I will release mongoDB. Cheers.

TonyGen commented 12 years ago

I just release a new version of mongoDB using monad-control 0.3 and latest lifted-base fix.

scan commented 12 years ago

Thank you.