[Haskell-cafe] MTL vs Transformers?

Daniel Schüssler anotheraddress at gmx.de
Tue Oct 13 05:25:33 EDT 2009


On Tuesday 13 October 2009 02:46:29 Erik de Castro Lopo wrote:
> Hi all,
> 
> I've just received the following error message:
> 
>   headers.hs:6:7:
>     Could not find module `Control.Monad.Identity':
>       it was found in multiple packages: transformers-0.1.4.0 mtl-1.1.0.2
> 
> I'm trying to use the Iteratee module which depends on Transformers
> but I use MTL in other stuff.
> 
> Whats the preferred solution here?
> 
> Erik
> 

Hi,

alternative to ghc-pkg:

{-# LANGUAGE -XPackageImports #-}
module Blub where

import "mtl" Control.Monad.State

--
Daniel


More information about the Haskell-Cafe mailing list