[Haskell-cafe] *GROUP HUG*
qdunkan at gmail.com
Tue May 31 20:41:55 CEST 2011
On Tue, May 31, 2011 at 11:31 AM, Ozgur Akgun <ozgurakgun at gmail.com> wrote:
> On 24 May 2011 19:57, Evan Laforge <qdunkan at gmail.com> wrote:
>> On the catMaybes thing, I have a function 'mapMaybe = Maybe.catMaybes
>> . map'. I turns out I only ever used catMaybes after mapping a Maybe
>> function, so I hardly ever use catMaybes anymore. I suppose it should
>> have been maybeMap for consistency with concatMap.
> Just wanted to point out, that function is already defined in Data.Maybe:
> Hugs :)
Indeed it is, somehow I missed that one and wrote my own instead.
More information about the Haskell-Cafe