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

Erik Hesselink hesselink at gmail.com
Wed May 22 09:31:54 CEST 2013


On Tue, May 21, 2013 at 10:36 PM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
>
> 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.

Then your remark was doubly unfair: you knew about the issues, but
chose to ignore/misrepresent them because *you* don't run into them.

Erik



More information about the Libraries mailing list