1 Jun
2011
1 Jun
'11
12:11 a.m.
On Tue, May 31, 2011 at 11:31 AM, Ozgur Akgun
Evan, On 24 May 2011 19:57, Evan Laforge
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: http://hackage.haskell.org/packages/archive/base/latest/doc/html/Data-Maybe.... Hugs :)
Indeed it is, somehow I missed that one and wrote my own instead.