Proposal: Adding on

Nils Anders Danielsson nad at
Fri Nov 3 12:05:02 EST 2006

On Fri, 03 Nov 2006, Duncan Coutts <duncan.coutts at> wrote:

>    groupBy ((==) `on` fst)

Read it as "group by equality on first".

> vs groupBy (equating fst)

> So do you suggest that we deprecate and remove comparing?

Yes, this seems like a good idea. (I had forgotten that comparing was
added before 6.6 was released.) I can add a deprecation pragma to my
patch. Any objections?


More information about the Libraries mailing list