Could iteratee depend on mtl instead of transformers?

Valery V. Vorotyntsev valery.vv at gmail.com
Tue Nov 17 10:23:31 EST 2009


Jeremy Shaw wrote:
>
> I don't think that works, but you can do:
> {-# LANGUAGE PackageImports #-}
> import "transformers" Control.Monad.Reader
> in GHC 6.10 and higher. I think you could even do:
>
> {-# LANGUAGE PackageImports #-}
> import "transformers" Control.Monad.Reader
> import "mtl"                  Control.Monad.Writer

Yes, this works!
Thanks, Jeremy.

-- 
vvv


More information about the Libraries mailing list