16 May 12:32
Re: Std lib equivalent for liftM concat . sequence
From: Bulat Ziganshin <bulat.ziganshin <at> gmail.com>
Subject: Re: Std lib equivalent for liftM concat . sequence
Newsgroups: gmane.comp.lang.haskell.cafe
Date: 2008-05-16 10:32:49 GMT
Subject: Re: Std lib equivalent for liftM concat . sequence
Newsgroups: gmane.comp.lang.haskell.cafe
Date: 2008-05-16 10:32:49 GMT
Hello Alistair, Friday, May 16, 2008, 2:12:45 PM, you wrote: >> concatM = liftM concat . sequence > but found no such thing in the std libs, except perhaps for msum (I > don't want to add instances for MonadPlus. Should I have to?). Have I > missed something trivial? 1. it's easy to define yourself 2. it's not widely used. at least, i have in my program for, foreach, concatMapM, filterM and lot of other monadic operations, but no one concatM -- -- Best regards, Bulat mailto:Bulat.Ziganshin <at> gmail.com
RSS Feed