[Haskell-cafe] IO (Either a Error) question

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Sun May 9 08:41:12 EDT 2010

"Brandon S. Allbery KF8NH" <allbery at ece.cmu.edu> writes:
> I've always had the feeling that if I need catMaybes, I haven't
> thought through the data representation (or possibly manipulation)
> fully.

I've used catMaybes in several places: for example, in SourceGraph only
"interesting" analyses are reported (e.g. if there's only one connected
component, then don't bother mentioning it, as the big point is when
your module has more than one component); I indicate this by having each
separate analysis function returning a Maybe value and then applying

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list