
9 May
2010
9 May
'10
12:41 p.m.
"Brandon S. Allbery KF8NH"
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 catMaybes. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com