
5 Dec
2011
5 Dec
'11
11:04 p.m.
Michael Snoyman wrote:
I just spent a fair amount of time yesterday upgrading packages to monad-control 0.3. What I had to do was add in the MonadTransControl and MonadBaseControl instances manually. It's actually not too difficult; just copy out the instance for StateT and make a few changes. Be warned that Bas used some tricky CPP stuff, however, which you'll have to unwind ;).
I forgot to mention that I tried doing that, based on the example in the haddock, but failed miserably. Care to share a working example, perhaps in the form of a patch to the monad-control haddock? :) -- see shy jo