
On Sat, 14 Mar 2009 02:14:53 +0100 (CET), Henning Thielemann
I think 'transformers' exports Control.Monad.Trans.State. This should not
conflict with MTL. However, MTL's State type is different from transformer's one. Is that your problem?
No. The immediate problem is, that a module named Control.Monad.State is exported by both mtl and monads-tf (and my code needs both packages). It is indeed unfortunate that mtl:State is a different type from transformers:State, but that is not biting me right now.
Since the 'cabal' tool became better and better, today I use a cabal file
even for small programs. Cabal automatically calls GHC with the right package exposing and hiding options.
I already use cabal; my own package has mtl, transformers and monads-tf among its dependencies. Regards, Arie