Proposal: Add concatMapM function (#2042)

Don Stewart dons at galois.com
Mon Jan 14 13:06:10 EST 2008


isaacdupree:
> 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.)
> 

(+1) seems reasonable.


More information about the Libraries mailing list