
3 Nov
2006
3 Nov
'06
7:23 a.m.
On Thu, 02 Nov 2006, Duncan Coutts
I wonder about how this relates to 'comparing' which we already have in Data.Ord. Does adding 'on' mean we should remove 'comparing' ?
I would suggest we keep both and add 'equating' to Data.Eq too, for symmetry with 'comparing'.
I think it's just as easy to understand (compare `on` f) as (comparing f), so having both just adds extra complexity. Hence I place comparing _under_ the Fairbairn threshold. My patch adds documentation to Data.List pointing to on, by the way. -- /NAD