
9 Oct
2008
9 Oct
'08
6:25 p.m.
groupOn :: Eq b => (a -> b) -> [a] -> [[a]]
I don't know how other people use groupBy, but I'm almost always looking for something of the the type Eq b => (a -> b) -> [a] -> [(b,[a])] I just bring this up as something to think about. It is easy to construct from groupOn, however it is almost as easy to construct from groupBy. So groupOn doesn't really gain me much. :) -- Russell O'Connor http://r6.ca/ ``All talk about `theft,''' the general counsel of the American Graphophone Company wrote, ``is the merest claptrap, for there exists no property in ideas musical, literary or artistic, except as defined by statute.''