[Haskell-cafe] A small oversight

Matthias Görgens matthias.goergens at googlemail.com
Sat Feb 20 05:56:46 EST 2010


> Also, constructions like
>
>  sortBy (compare `on` foo)
>
> must surely be very common.

Just as a data point: I use constructions like the above very often.
(Perhaps someone more enlightened than me can point out the connection
to arrows?)

Data.Function.on is surprisingly useful in some other contexts, too.

Matthias.


More information about the Haskell-Cafe mailing list