[Haskell-cafe] monadic map on a Data.IntMap

Chaddaï Fouché chaddai.fouche at gmail.com
Mon Sep 8 14:56:26 EDT 2008


2008/9/8 minh thu <noteed at gmail.com>:
> Hi,
>
> Is there something like a fmapM_ ?
> In particular, I'd like to mapM_ a Data.IntMap instead of a List
>

The Traversable class (from Data.Traversable) includes a mapM function.
Unfortunately Data.IntMap don't provide an instance for IntMap (though
Data.Map does for Map).

-- 
Jedaï


More information about the Haskell-Cafe mailing list