[Haskell-beginners] [m [a]] -> m [a]
Brent Yorgey
byorgey at seas.upenn.edu
Wed Aug 17 15:47:04 CEST 2011
On Wed, Aug 17, 2011 at 01:32:00PM +0200, Daniel Fischer wrote:
> On Wednesday 17 August 2011, 13:20:55, Guy wrote:
> > Is there a function which can do this, where m is not mplus?
> >
> > I would like all the lists to be joined inside the monad with ++.
>
> sequence gives you m [[a]], then an fmap concat (or liftM concat, since
http://spl.smugmug.com/Humor/Lambdacats/lift-concat/960794992_KUg77-M-1.jpg
More information about the Beginners
mailing list