[Haskell-cafe] MTL vs Transformers?
ross at soi.city.ac.uk
Tue Oct 13 03:51:12 EDT 2009
On Tue, Oct 13, 2009 at 08:43:12AM +0100, Ross Paterson wrote:
> On Tue, Oct 13, 2009 at 12:08:21PM +1100, Erik de Castro Lopo wrote:
> > Here's an example. CGI uses MTL, Iteratee uses Transformers.
> > So, how do you use CGI and Iteratee in the same program?
> There should be no problem with that, as long as you build your program
> using cabal. Cabal will build each package exposing only the packages
> it directly depends on.
Ah, I see: both packages have MonadIO and MonadTrans in their interface.
That will be a problem, which will only be fixed by the proposed
transition Ganesh mentioned.
More information about the Haskell-Cafe