Proposal: Add concatMapM function (#2042)

Isaac Dupree isaacdupree at charter.net
Mon Jan 14 13:00:08 EST 2008


Twan van Laarhoven wrote:
> Hello library people,
> 
> 
> I have noticed that many projects include a 'concatMapM' function:
> 
>   concatMapM :: (Monad m) => (a -> m [b]) -> [a] -> m [b]
> 
> I think this is useful in general, so let's add it to Control.Monad.

Me too.  (therefore I think it should be added.)

~Isaac


More information about the Libraries mailing list