foldable flexible bridges (putting foldable+traversable in prelude) Re: Burning bridges

Henning Thielemann lemming at henning-thielemann.de
Tue May 21 22:36:02 CEST 2013


On Tue, 21 May 2013, Erik Hesselink wrote:

> Then you've never done this, at least not in combination with the mtl.
> You need at least two imports to import the generalized mapM_ etc:
>
> import Prelude hiding (mapM_)
> import Data.Foldable (mapM_)
>
> With mtl (one of the most used packages in the Haskell ecosystem, I'd
> guess) you additionally need:
>
> import Control.Monad.State hiding (mapM_)
> import Control.Monad.Reader hiding (mapM_)

I answered to this argument to Andreas Abel. I just do not use mtl for 
this and other purposes. I use transformers.



More information about the Libraries mailing list