
31 Dec
2009
31 Dec
'09
5:11 a.m.
Excerpts from Alexander Dunlap's message of Thu Dec 31 00:06:58 -0500 2009:
Why are you importing both Control.Failure and Control.Monad.Failure when the latter just re-exports the former? Are you using the latest versions of the two packages? Try importing just Control.Monad.Failure.MTL; that provides the MTL failure instances and also re-exports Control.Failure.
That's correct. I imported both when Control.Monad.Failure.MTL failed to expose try: ezyang@javelin:~/Dev/wizard$ ghci Prelude> :m +Control.Monad.Failure.MTL Prelude Control.Monad.Failure.MTL> :t try <interactive>:1:0: Not in scope: `try' Which, doesn't really seem like it should be the case. Cheers, Edward