Re: [Haskell-cafe] Incompatibility of different (monad transformer) libraries

2009-03-16 Thread Arie Peterson
On Sat, 14 Mar 2009 02:14:53 +0100 (CET), Henning Thielemann lemm...@henning-thielemann.de wrote: 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

Re: [Haskell-cafe] Incompatibility of different (monad transformer) libraries

2009-03-16 Thread Antoine Latter
On Mon, Mar 16, 2009 at 9:26 AM, Arie Peterson ar...@xs4all.nl wrote: It is indeed unfortunate that mtl:State is a different type from transformers:State, but that is not biting me right now. If the type problem does ever become an issue, could the MTL use the types from the transformers

Re: [Haskell-cafe] Incompatibility of different (monad transformer) libraries

2009-03-13 Thread Henning Thielemann
On Tue, 10 Mar 2009, ariep wrote: Problem instance In my code, I use some monad transformers. I used to use the mtl package, but I recently switched to the combination transformers/monads-tf (mainly for the Applicative instances). The same code also uses the haskeline library, for

[Haskell-cafe] Incompatibility of different (monad transformer) libraries

2009-03-10 Thread ariep
Hi, Problem instance In my code, I use some monad transformers. I used to use the mtl package, but I recently switched to the combination transformers/monads-tf (mainly for the Applicative instances). The same code also uses the haskeline library, for line reading. Haskeline allows