
21 May
2013
21 May
'13
4:36 p.m.
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.